diff options
| author | David Schmitt <david@schmitt.edv-bus.at> | 2007-11-09 18:29:04 +0100 |
|---|---|---|
| committer | David Schmitt <david@schmitt.edv-bus.at> | 2007-11-09 18:29:04 +0100 |
| commit | 61ef2893c57584ad3166241c6e412c1b4d014a4b (patch) | |
| tree | faf195fc16c55323fc37da31966323b08cfa4f17 /test | |
| parent | 418bc21e3fd893b0f1f5315f6a9d0f9a87ae2d01 (diff) | |
| download | puppet-61ef2893c57584ad3166241c6e412c1b4d014a4b.tar.gz puppet-61ef2893c57584ad3166241c6e412c1b4d014a4b.tar.xz puppet-61ef2893c57584ad3166241c6e412c1b4d014a4b.zip | |
fix #815: add :main to all use() for :reporting and :metrics
Diffstat (limited to 'test')
| -rwxr-xr-x | test/other/report.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/other/report.rb b/test/other/report.rb index c45fa740b..1ccb44546 100755 --- a/test/other/report.rb +++ b/test/other/report.rb @@ -87,7 +87,7 @@ class TestReports < Test::Unit::TestCase # We have to reuse reporting here because of something going on in the # server/report.rb file - Puppet.settings.use(:reporting) + Puppet.settings.use(:main, :reporting) 3.times { |i| log = Puppet.warning("Report test message %s" % i) @@ -114,7 +114,7 @@ class TestReports < Test::Unit::TestCase if Puppet.features.rrd? def test_rrdgraph_report - Puppet.settings.use(:metrics) + Puppet.settings.use(:main, :metrics) report = mkreport assert(! report.metrics.empty?, "Did not receive any metrics") |
