lib/puppet/util/metric.rb in puppet-2.6.2 vs lib/puppet/util/metric.rb in puppet-2.6.3

- old
+ new

@@ -62,10 +62,10 @@ puts RRD.info(self.path) end end def graph(range = nil) - unless Puppet.features.rrd? + unless Puppet.features.rrd? || Puppet.features.rrd_legacy? Puppet.warning "RRD library is missing; cannot graph metrics" return end unit = 60 * 60 * 24