summaryrefslogtreecommitdiffstats
path: root/lib/puppet/configuration.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-08 16:53:45 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-08 16:53:45 +0000
commitb36f9c9a53bb568c7f72a81dfb75cee9f16e66d1 (patch)
tree56bbb54e2fe40978d46b99fc3b5a6bf404a62c82 /lib/puppet/configuration.rb
parent6b92c0454829ec0ccd600679adabc1263f663974 (diff)
downloadpuppet-b36f9c9a53bb568c7f72a81dfb75cee9f16e66d1.tar.gz
puppet-b36f9c9a53bb568c7f72a81dfb75cee9f16e66d1.tar.xz
puppet-b36f9c9a53bb568c7f72a81dfb75cee9f16e66d1.zip
Fixing the config path to use Puppet[:name] rather than Puppet.name
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2271 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/configuration.rb')
-rw-r--r--lib/puppet/configuration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/configuration.rb b/lib/puppet/configuration.rb
index e4e1a6ec6..7c66cc11e 100644
--- a/lib/puppet/configuration.rb
+++ b/lib/puppet/configuration.rb
@@ -116,8 +116,8 @@ module Puppet
# Define the config default.
self.setdefaults(self.name,
- :config => ["$confdir/#{self.name}.conf",
- "The configuration file for #{self.name}."],
+ :config => ["$confdir/#{Puppet[:name]}.conf",
+ "The configuration file for #{Puppet[:name]}."],
:pidfile => ["", "The pid file"],
:bindaddress => ["", "The address to bind to. Mongrel servers
default to 127.0.0.1 and WEBrick defaults to 0.0.0.0."],