diff options
| author | Luke Kanies <luke@madstop.com> | 2008-02-28 17:40:01 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-02-28 17:40:01 -0600 |
| commit | 879ee22ee31309b04428d22f73953026e9111ed3 (patch) | |
| tree | 4cdac2983a5f696ab011ad2a9cc2a372883902f3 /lib | |
| parent | fd1573fdb696803deb7a220d6bfd06b8afff55fb (diff) | |
| download | puppet-879ee22ee31309b04428d22f73953026e9111ed3.tar.gz puppet-879ee22ee31309b04428d22f73953026e9111ed3.tar.xz puppet-879ee22ee31309b04428d22f73953026e9111ed3.zip | |
Fixing #1062 by moving the yamldir setting to its own yaml
section. This should keep the yamldir from being created
on clients.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/defaults.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index 520a18d1a..77792172f 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -140,8 +140,6 @@ module Puppet :show_diff => [false, "Whether to print a contextual diff when files are being replaced. The diff is printed on stdout, so this option is meaningless unless you are running Puppet interactively. This feature currently requires the ``diff/lcs`` Ruby library."], - :yamldir => {:default => "$vardir/yaml", :owner => "$user", :group => "$user", :mode => "750", - :desc => "The directory in which YAML data is stored, usually in a subdirectory."}, :daemonize => { :default => true, :desc => "Send the process into the background. This is the default.", :short => "D" @@ -672,5 +670,10 @@ module Puppet :rrdinterval => ["$runinterval", "How often RRD should expect data. This should match how often the hosts report back to the server."] ) + + Puppet.setdefaults(:yaml, + :yamldir => {:default => "$vardir/yaml", :owner => "$user", :group => "$user", :mode => "750", + :desc => "The directory in which YAML data is stored, usually in a subdirectory."} + ) end |
