diff options
| author | ben hengst <notbenh@cpan.org> | 2011-03-24 19:29:26 -0700 |
|---|---|---|
| committer | Max Martin <max@puppetlabs.com> | 2011-04-28 13:49:19 -0700 |
| commit | 1b2a7d90af49b19409dcb151f922f124f797a290 (patch) | |
| tree | f2ea3399fc4a5ce4c0e4e91705f2489172c6b91f | |
| parent | c4a2647ad58fbe809822e399042454627066f65b (diff) | |
| download | puppet-1b2a7d90af49b19409dcb151f922f124f797a290.tar.gz puppet-1b2a7d90af49b19409dcb151f922f124f797a290.tar.xz puppet-1b2a7d90af49b19409dcb151f922f124f797a290.zip | |
case seems needless here as there is only two opts, also the rest of the file seems to use if so this should make things more consistant
| -rw-r--r-- | lib/puppet.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb index a9ed2898c..f97d28642 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -59,8 +59,7 @@ module Puppet # configuration parameter access and stuff def self.[](param) - case param - when :debug + if param == :debug return Puppet::Util::Log.level == :debug else return @@settings[param] |
