summaryrefslogtreecommitdiffstats
path: root/lib/puppet/defaults.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-04 16:38:56 -0500
committerLuke Kanies <luke@madstop.com>2007-10-04 16:38:56 -0500
commit6acde71f7687c6ed6d5fce37cf2346cf3162cefe (patch)
treed7c456cd6e8a6de649c54992c63fd6420ae0ce0c /lib/puppet/defaults.rb
parent9236179fadf5d0ee68abab395ba1102cd04f3471 (diff)
downloadpuppet-6acde71f7687c6ed6d5fce37cf2346cf3162cefe.tar.gz
puppet-6acde71f7687c6ed6d5fce37cf2346cf3162cefe.tar.xz
puppet-6acde71f7687c6ed6d5fce37cf2346cf3162cefe.zip
Switching the indirection from using settings for configuration
to requiring explicit configuration. This means that if you as an application developer want to use a different indirection terminus then you have to specify it; something like: Puppet::Node.terminus_class = :ldap Caches use the same kind of configuration: Puppet::Node.cache_class = :memory Accordingly, I've removed the existing setting definitions from the defaults.rb.
Diffstat (limited to 'lib/puppet/defaults.rb')
-rw-r--r--lib/puppet/defaults.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index 1b0b402ec..6ea4eef4c 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -500,15 +500,6 @@ module Puppet
"The server through which to send email reports."]
)
- # This needs to be in main because it's used too early in the system, such that
- # we get an infinite loop otherwise.
- self.setdefaults(:main,
- :facts_terminus => ["yaml",
- "The backend store to use for client facts."],
- :checksum_terminus => ["file",
- "The backend store to use for storing files by checksum (i.e., filebuckets)."]
- )
-
self.setdefaults(:rails,
:dblocation => { :default => "$statedir/clientconfigs.sqlite3",
:mode => 0660,