summaryrefslogtreecommitdiffstats
path: root/lib/puppet/client.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-06-29 03:11:06 +0000
committerLuke Kanies <luke@madstop.com>2005-06-29 03:11:06 +0000
commit0c4254a9c1bad795a8bcc895cff74b6dd961ba44 (patch)
tree2d512a90e147d020486ff71591ad64202814ac06 /lib/puppet/client.rb
parent573d3018a67521f37dbbd46e86c7d1d8b7bc2703 (diff)
downloadpuppet-0c4254a9c1bad795a8bcc895cff74b6dd961ba44.tar.gz
puppet-0c4254a9c1bad795a8bcc895cff74b6dd961ba44.tar.xz
puppet-0c4254a9c1bad795a8bcc895cff74b6dd961ba44.zip
metric testing and graphing now works in the library, although nothing has been done in the language
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@314 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/client.rb')
-rw-r--r--lib/puppet/client.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/client.rb b/lib/puppet/client.rb
index f1140ea4d..06808a4b4 100644
--- a/lib/puppet/client.rb
+++ b/lib/puppet/client.rb
@@ -10,6 +10,7 @@ require 'puppet/type'
require 'puppet/fact'
require 'puppet/transaction'
require 'puppet/transportable'
+require 'puppet/metric'
require 'http-access2'
require 'soap/rpc/driver'
require 'soap/rpc/httpserver'
@@ -80,6 +81,12 @@ module Puppet
#transaction = Puppet::Transaction.new(objects)
transaction.toplevel = true
transaction.evaluate
+ Puppet::Metric.gather
+ Puppet::Metric.tally
+ Metric.store
+ if @@config[:rrdgraph] == true
+ #Metric.store
+ end
self.shutdown
end