summaryrefslogtreecommitdiffstats
path: root/lib/puppet/defaults.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-21 15:15:40 -0500
committerLuke Kanies <luke@madstop.com>2007-09-21 15:15:40 -0500
commitda0555d948b837e7c16bdca164780c9e71353e4a (patch)
treed4c8c995a99246097f198be4015249c1a8305595 /lib/puppet/defaults.rb
parent0a48e5f5bf5885353edc20f020ae27eb682176f7 (diff)
downloadpuppet-da0555d948b837e7c16bdca164780c9e71353e4a.tar.gz
puppet-da0555d948b837e7c16bdca164780c9e71353e4a.tar.xz
puppet-da0555d948b837e7c16bdca164780c9e71353e4a.zip
Adding the first top-level terminus (yaml). It works
and is tested, so now it is time to migrate the Facts YAML Terminus to use the <terminus>/<indirection> file structure instead of <indirection>/<terminus>. In this case, that means that I am moving the functionality in lib/puppet/indirector/facts/yaml.rb to lib/puppet/indirector/yaml/facts.rb, and the class in that new file will subclass Puppet::Indirector::Yaml.
Diffstat (limited to 'lib/puppet/defaults.rb')
-rw-r--r--lib/puppet/defaults.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index 4b442d094..fa119bb5a 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -499,9 +499,9 @@ module Puppet
"The backend store to use for client facts."]
)
- self.setdefaults(:yamlfacts,
- :yamlfactdir => ["$vardir/facts",
- "The directory in which client facts are stored when the yaml fact store is used."]
+ self.setdefaults(:yaml,
+ :yamldir => ["$vardir/yaml",
+ "The directory in which YAML data is stored, usually in a subdirectory."]
)
self.setdefaults(:rails,