zipkid
10/06/2022, 9:05 AMKevinR
10/06/2022, 11:43 AMKevinR
10/06/2022, 11:43 AMKevinR
10/06/2022, 11:43 AMstdlib::stages declared in their puppet code for these stages to exist?KevinR
10/06/2022, 11:44 AMSlackbot
10/06/2022, 12:33 PMDavid Sandilands
10/06/2022, 12:33 PMKevinR
10/06/2022, 12:46 PMinclude stdlib or include stdlib::stages somewhere for the stages to exist, right? Having stdlib in the Puppetfile is not enough to create the stages?Slackbot
10/06/2022, 1:05 PMsameer
10/06/2022, 2:59 PMSlackbot
10/06/2022, 6:11 PMAndrew
10/06/2022, 6:40 PMjms1
10/06/2022, 7:03 PMSlackbot
10/06/2022, 7:05 PMElliott
10/06/2022, 7:09 PMMartin Merfort
10/06/2022, 7:11 PM[root@i-009321b1d566fec1a production]# /opt/puppetlabs/puppet/bin/r10k deploy environment stage -mv debug2
[2022-10-06 19:10:12 - DEBUG2] Reading configuration from "/etc/puppetlabs/r10k/r10k.yaml"
[2022-10-06 19:10:12 - DEBUG1] Testing to see if feature pe_license is available.
[2022-10-06 19:10:12 - DEBUG2] Attempting to load library 'pe_license' for feature pe_license
[2022-10-06 19:10:12 - DEBUG2] Error while loading library pe_license for feature pe_license: cannot load such file -- pe_license
[2022-10-06 19:10:12 - DEBUG1] Feature pe_license is not available.
[2022-10-06 19:10:12 - DEBUG2] pe_license feature is not available, PE only Puppet modules will not be downloadable.
[2022-10-06 19:10:12 - ERROR] no implicit conversion of nil into String
What could cause this r10k error?bastelfreak
10/06/2022, 7:12 PMbastelfreak
10/06/2022, 7:14 PMr10k puppetfile check /path/to/Puppetfilebastelfreak
10/06/2022, 7:14 PMbastelfreak
10/06/2022, 7:15 PMMartin Merfort
10/06/2022, 7:15 PMSyntax OKbinford2k
10/06/2022, 7:15 PMruby -c PuppetfileMartin Merfort
10/06/2022, 7:15 PMr10k 3.15.2bastelfreak
10/06/2022, 7:16 PMbastelfreak
10/06/2022, 7:17 PM--trace?Martin Merfort
10/06/2022, 7:17 PMbastelfreak
10/06/2022, 7:17 PMMartin Merfort
10/06/2022, 7:18 PM[root@i-009321b1d566fec1a production]# /opt/puppetlabs/puppet/bin/r10k deploy environment production -mv --trace
ERROR -> no implicit conversion of nil into String
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source/base.rb:44:in `initialize'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source/base.rb:44:in `new'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source/base.rb:44:in `initialize'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source/git.rb:59:in `initialize'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/keyed_factory.rb:30:in `new'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/keyed_factory.rb:30:in `generate'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source.rb:20:in `generate'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/source.rb:31:in `from_hash'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:121:in `block in load_sources'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:120:in `each'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:120:in `map'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:120:in `load_sources'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:48:in `sources'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:36:in `preload!'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/action/deploy/environment.rb:109:in `visit_deployment'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/action/visitor.rb:27:in `visit'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/deployment.rb:106:in `accept'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/action/deploy/environment.rb:75:in `call'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/action/runner.rb:33:in `call'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/lib/r10k/action/cri_runner.rb:67:in `call'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/cri-2.15.11/lib/cri/command_dsl.rb:294:in `block in runner'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/cri-2.15.11/lib/cri/command.rb:362:in `run_this'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/cri-2.15.11/lib/cri/command.rb:298:in `run'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/r10k-3.15.2/bin/r10k:7:in `<top (required)>'
/opt/puppetlabs/puppet/bin/r10k:23:in `load'
/opt/puppetlabs/puppet/bin/r10k:23:in `<main>'bastelfreak
10/06/2022, 7:19 PMbastelfreak
10/06/2022, 7:19 PM