summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-11-01 14:57:18 -0500
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit5a8b460001337ac2971c9b8b9b61f600a86890bf (patch)
treec59229e3bcc9f2d93c045644b0590beef9f5519d /lib/puppet
parent9a78beee0e4dadeaaff0c7b6a5f659f147f108c8 (diff)
downloadpuppet-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.rb9
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 = ""