diff options
author | Luke Kanies <luke@madstop.com> | 2009-11-01 14:57:18 -0500 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 5a8b460001337ac2971c9b8b9b61f600a86890bf (patch) | |
tree | c59229e3bcc9f2d93c045644b0590beef9f5519d /lib/puppet | |
parent | 9a78beee0e4dadeaaff0c7b6a5f659f147f108c8 (diff) | |
download | puppet-5a8b460001337ac2971c9b8b9b61f600a86890bf.tar.gz puppet-5a8b460001337ac2971c9b8b9b61f600a86890bf.tar.xz puppet-5a8b460001337ac2971c9b8b9b61f600a86890bf.zip |
Removing unused code and adding a couple of tests
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/transaction/report.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/puppet/transaction/report.rb b/lib/puppet/transaction/report.rb index 6a486335b..0fb1db03c 100644 --- a/lib/puppet/transaction/report.rb +++ b/lib/puppet/transaction/report.rb @@ -26,11 +26,6 @@ class Puppet::Transaction::Report def initialize @metrics = {} @logs = [] - - @records = Hash.new do |hash, key| - hash[key] = [] - end - @host = Puppet[:certname] end @@ -54,10 +49,6 @@ class Puppet::Transaction::Report @logs << msg end - def record(metric, object) - @records[metric] << object - end - # Provide a summary of this report. def summary ret = "" |