RobDog
05/17/2022, 1:49 PMJoshua Smeda
05/17/2022, 1:56 PMYury Bushmelev
05/17/2022, 2:21 PMLumiere
05/17/2022, 2:28 PMLumiere
05/17/2022, 2:28 PMLumiere
05/17/2022, 2:32 PM/opt/puppetlabs/facter/facts.d/<mountname>_now_xfs.txt
that just contains myorg_mountname_now_xfs=true
that puppet can use to know if it needs to do xfs or ext4Joshua Smeda
05/17/2022, 2:43 PMfqdn
Error: Unable to compile catalog for fqdn
Failed to retrieve catalog for fqdn from puppet-compilers in environment staging: Certname "" must not contain unprintable or non-ASCII characters
Debug: Facter: dhcpcd was not found on the PATH.
Debug: Facter: Could not find the 'ip' command. Physical macaddress for bonded interfaces will be incorrect.
Debug: Facter: fact "ipaddress_eth0" has resolved to "10.42.7.233".
Debug: Compiling catalog for fqdn
Debug: Connecting to server: puppet-compilers/puppet/v4/catalog
Debug: Creating new connection for <https://puppet-compilers:8140>
Debug: Starting connection for <https://puppet-compilers:8140>
Error: Unable to compile catalog for fqdn
Failed to retrieve catalog for fqdn from puppet-compilers in environment production: Certname "" must not contain unprintable or non-ASCII characters
David Manouchehri
05/17/2022, 2:46 PMPuppetfile
already, is there any legacy compatibility issues they'll likely have when using my module?bastelfreak
05/17/2022, 2:46 PMSlackbot
05/17/2022, 2:47 PMLumiere
05/17/2022, 2:50 PMmetadata.json
is attempting to give information to people who look at the module, Puppetfile
is telling your puppet server "I want to install this, at this version"Joshua Smeda
05/17/2022, 2:54 PMDavid Manouchehri
05/17/2022, 2:55 PMLumiere
05/17/2022, 2:56 PMvchepkov
05/17/2022, 3:01 PMDavid Manouchehri
05/17/2022, 3:01 PMvchepkov
05/17/2022, 3:02 PMvchepkov
05/17/2022, 3:03 PM$ generate-puppetfile puppetlabs/apache
=======================================================================
forge '<https://forge.puppet.com>'
# Modules discovered by generate-puppetfile
mod 'puppetlabs/apache', '7.0.0'
mod 'puppetlabs/concat', '7.2.0'
mod 'puppetlabs/stdlib', '8.2.0'
=======================================================================
David Manouchehri
05/17/2022, 3:08 PMuser@dacc5717fa08:/workspaces/epic_security# pdk bundle exec rake generate_puppetfile --trace
pdk (INFO): Using Ruby 2.7.3
pdk (INFO): Using Puppet 7.10.0
** Invoke generate_puppetfile (first_time)
** Execute generate_puppetfile
generate-puppetfile -c epic-epic_security
rake aborted!
Command failed with status (127): [generate-puppetfile -c epic-epic_secu...]
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb:67:in `block in create_shell_runner'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb:57:in `sh'
/workspaces/epic_security/rakelib/generate_puppetfile.rake:6:in `block in <top (required)>'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `block in execute'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `each'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `execute'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/honeycomb-beeline-2.6.0/lib/honeycomb/integrations/rake.rb:21:in `block in execute'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/honeycomb-beeline-2.6.0/lib/honeycomb/client.rb:62:in `start_span'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/honeycomb-beeline-2.6.0/lib/honeycomb/integrations/rake.rb:16:in `execute'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `synchronize'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb:183:in `invoke'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:160:in `invoke_task'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
/opt/puppetlabs/pdk/private/ruby/2.7.3/bin/rake:23:in `load'
/opt/puppetlabs/pdk/private/ruby/2.7.3/bin/rake:23:in `<top (required)>'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/opt/puppetlabs/pdk/private/ruby/2.7.3/bin/bundle:23:in `load'
/opt/puppetlabs/pdk/private/ruby/2.7.3/bin/bundle:23:in `<main>'
Tasks: TOP => generate_puppetfile
vchepkov
05/17/2022, 3:11 PMDavid Manouchehri
05/17/2022, 3:12 PMYorokobi
05/17/2022, 3:12 PMYorokobi
05/17/2022, 3:12 PMYorokobi
05/17/2022, 3:13 PMJoshua Smeda
05/17/2022, 3:16 PMDavid Manouchehri
05/17/2022, 3:22 PMbastelfreak
05/17/2022, 3:24 PMDavid Manouchehri
05/17/2022, 3:24 PMbastelfreak
05/17/2022, 3:25 PMDavid Manouchehri
05/17/2022, 3:26 PMmetadata.json
...?