lib/puppet/util/metric.rb in puppet-0.23.2 vs lib/puppet/util/metric.rb in puppet-0.24.0
- old
+ new
@@ -19,11 +19,11 @@
Puppet[:rrddir]
end
end
def create(start = nil)
- Puppet.config.use(:metrics)
+ Puppet.settings.use(:main, :metrics)
start ||= Time.now.to_i - 5
@rrd = RRDtool.new(self.path)
args = []
@@ -147,6 +147,5 @@
end
end
Puppet::Metric = Puppet::Util::Metric
-# $Id: metric.rb 2584 2007-06-14 14:23:58Z luke $