diff options
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r-- | lib/puppet.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb index b216503c2..6e7aa2318 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -71,8 +71,8 @@ module Puppet @@settings.setdefaults(section, hash) end - # configuration parameter access and stuff - def self.[](param) + # configuration parameter access and stuff + def self.[](param) case param when :debug if Puppet::Util::Log.level == :debug @@ -83,12 +83,12 @@ module Puppet else return @@settings[param] end - end + end - # configuration parameter access and stuff - def self.[]=(param,value) + # configuration parameter access and stuff + def self.[]=(param,value) @@settings[param] = value - end + end def self.clear @@settings.clear |