diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-10-04 14:01:49 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-10-04 15:35:41 -0700 |
commit | 6dd1930ff66f6e89ff3d7edba9cc20126d9cd9a3 (patch) | |
tree | 9932df38550e12ba2afbef60e8a1d6cb51569ca6 /lib | |
parent | d057b90bba4ffe7174e9af789835d5528e8a200d (diff) | |
download | puppet-6dd1930ff66f6e89ff3d7edba9cc20126d9cd9a3.tar.gz puppet-6dd1930ff66f6e89ff3d7edba9cc20126d9cd9a3.tar.xz puppet-6dd1930ff66f6e89ff3d7edba9cc20126d9cd9a3.zip |
Fix test failures that fixing #4726 exposed.
The patch for #4726 causes old unit tests of the rrd reporting
infrastructure to run on my machine. These tests were calling the old
report api, which does not succeed.
Also, the rrd settings had unintentionally been moved out of the
:metrics section, making it possible that the rrd report directory would
fail to get created during testing.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/defaults.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index 972e9e66c..ab127602b 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -453,6 +453,12 @@ module Puppet :reporturl => ["http://localhost:3000/reports", "The URL used by the http reports processor to send reports"], :fileserverconfig => ["$confdir/fileserver.conf", "Where the fileserver configuration is stored."], + :strict_hostname_checking => [false, "Whether to only search for the complete + hostname as it is in the certificate when searching for node information + in the catalogs."] + ) + + setdefaults(:metrics, :rrddir => {:default => "$vardir/rrd", :owner => "service", :group => "service", @@ -461,10 +467,7 @@ module Puppet this directory." }, :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 - hostname as it is in the certificate when searching for node information - in the catalogs."] + This should match how often the hosts report back to the server."] ) setdefaults(:agent, |