summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/indirection.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-22 17:54:46 -0500
committerLuke Kanies <luke@madstop.com>2007-09-22 17:54:46 -0500
commit3a18348fdbea39f56857b03c8f531bd5a2a8105d (patch)
treef305e24aee683167f45f962e5fcdfe524d59d93e /lib/puppet/indirector/indirection.rb
parente552c83b2875dab60a5508bfae352e7aa9235746 (diff)
downloadpuppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.gz
puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.xz
puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.zip
Renaming the 'Puppet::Util::Config' class to
'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
Diffstat (limited to 'lib/puppet/indirector/indirection.rb')
-rw-r--r--lib/puppet/indirector/indirection.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indirection.rb
index aacad6c45..8afe0012d 100644
--- a/lib/puppet/indirector/indirection.rb
+++ b/lib/puppet/indirector/indirection.rb
@@ -47,8 +47,8 @@ class Puppet::Indirector::Indirection
# Get the name of the terminus.
unless terminus_name
param_name = "%s_terminus" % self.name
- if Puppet.config.valid?(param_name)
- terminus_name = Puppet.config[param_name]
+ if Puppet.settings.valid?(param_name)
+ terminus_name = Puppet.settings[param_name]
else
terminus_name = Puppet[:default_terminus]
end