Fixing #2399 - removing client-side rrd graphs

This feature has been broken since who knows when,
yet no one's noticed.  Thus, it's a good
candidate for removal.

Signed-off-by: Luke Kanies <luke@madstop.com>
This commit is contained in:
Luke Kanies 2009-07-23 22:42:20 -07:00
Родитель f6d61455be
Коммит 7c859a7dd7
4 изменённых файлов: 1 добавлений и 11 удалений

Просмотреть файл

@ -445,7 +445,6 @@ module Puppet
Directories for each reporting host will be created under
this directory."
},
:rrdgraph => [false, "Whether RRD information should be graphed."],
:rrdinterval => ["$runinterval", "How often RRD should expect data.
This should match how often the hosts report back to the server."],
:strict_hostname_checking => [false, "Whether to only search for the complete

Просмотреть файл

@ -508,10 +508,6 @@ class Transaction
return
end
if Puppet[:rrdgraph] == true
report.graph()
end
if Puppet[:summarize]
puts report.summary
end

Просмотреть файл

@ -11,7 +11,7 @@ class TestPuppetDefaults < Test::Unit::TestCase
@@dirs = %w{rrddir confdir vardir logdir statedir}
@@files = %w{statefile manifest masterlog}
@@normals = %w{puppetport masterport server}
@@booleans = %w{rrdgraph noop}
@@booleans = %w{noop}
def testVersion
assert( Puppet.version =~ /^[0-9]+(\.[0-9]+)*/, "got invalid version number %s" % Puppet.version )

Просмотреть файл

@ -49,11 +49,6 @@ class TestMetric < PuppetTest::TestCase
}
end
def setup
super
Puppet[:rrdgraph] = true
end
def test_fakedata
report = Puppet::Transaction::Report.new
time = Time.now.to_i