summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2010-11-22 11:27:37 -0800
committerPaul Berry <paul@puppetlabs.com>2010-11-22 11:41:08 -0800
commit32dcb31a7a371ea542bf3c733d3d775ef3a8e51d (patch)
treee61501dc2b61cc62ca54dbaf595a3ff25d4fca47 /lib/puppet/util/autoload.rb
parent53bb805f118ccaca5598e60afadfa6b777410a0f (diff)
downloadpuppet-32dcb31a7a371ea542bf3c733d3d775ef3a8e51d.tar.gz
puppet-32dcb31a7a371ea542bf3c733d3d775ef3a8e51d.tar.xz
puppet-32dcb31a7a371ea542bf3c733d3d775ef3a8e51d.zip
(#5370) Made metrics and --summarize work with Puppet apply
Puppet apply and Puppet agent use different code paths to run the transaction. In the code path for Puppet apply, we weren't passing the report to catalog.apply, and as a result catalog.apply was creating its own report to store metrics in; this report was then discarded. As a result, reports generated using "puppet apply" had no metrics, and the "--summarize" option didn't work at all. Fixed by modifying the "puppet apply" code path to pass the report to catalog.apply. In the future it would be nice to refactor the two code paths to be the same. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions