summaryrefslogtreecommitdiffstats
path: root/lib/puppet/transaction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r--lib/puppet/transaction.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index e211b0f5b..9eaca63a6 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -27,7 +27,10 @@ class Transaction
Values must be comma-separated."],
:evaltrace => [false, "Whether each resource should log when it is
being evaluated. This allows you to interactively see exactly
- what is being done."]
+ what is being done."],
+ :summarize => [false,
+ "Whether to print a transaction summary."
+ ]
)
# Add some additional times for reporting
@@ -409,16 +412,6 @@ class Transaction
total
end
- # Unfortunately, RRD does not deal well with changing lists of values,
- # so we have to pick a list of values and stick with it. In this case,
- # that means we record the total time, the config time, and that's about
- # it. We should probably send each type's time as a separate metric.
- @timemetrics.dup.each do |name, value|
- if Puppet::Type.type(name)
- @timemetrics.delete(name)
- end
- end
-
# Add all of the metrics related to resource count and status
@report.newmetric(:resources, @resourcemetrics)