Issue #2944 has been reported by Dan Bode. ---------------------------------------- Bug #2944: configurer.rb calls generate_report for --apply puppet runs http://projects.reductivelabs.com/issues/2944
Author: Dan Bode Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Affected version: 0.25.2 Keywords: Branch: Puppet transaction generate_report cannot be called on runs triggered by --apply It seems to be missing some of the metric information (as I would expect from a puppet run, as opposed to a puppetd run) This occurs on an unreleased branch. The call occurs in configurer.rb on line 148 <pre> puppet --apply test.yaml.txt --tags hosts --trace /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:390:in `+' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:390:in `generate_report' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:389:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:389:in `inject' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:389:in `generate_report' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:148:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:177:in `benchmark' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/benchmark.rb:8:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:146:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application/puppet.rb:63:in `apply' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/bin/puppet:71 err: Failed to apply catalog: nil can't be coerced into Fixnum [r...@dansrh1 tmp]# </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
