diff options
author | Luke Kanies <luke@madstop.com> | 2008-02-27 15:43:09 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-02-27 15:43:09 -0500 |
commit | bb8051bc406d1da67db8212e852bb36d1368e953 (patch) | |
tree | 6bf92f02574939b66ff2622a9b93c7b6c6529ecd /lib | |
parent | ff4f65a48392b41b2943e8ccd6762059d10bb46f (diff) | |
download | puppet-bb8051bc406d1da67db8212e852bb36d1368e953.tar.gz puppet-bb8051bc406d1da67db8212e852bb36d1368e953.tar.xz puppet-bb8051bc406d1da67db8212e852bb36d1368e953.zip |
Removed the loglevels from the valid values for 'logoutput'
in the Exec resource type -- the log levels are specified
using the 'loglevel' parameter, not 'logoutput'. This never
worked, or at least hasn't for ages, and now the docs are
just correct.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/type/exec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb index f8049236f..2772b54a8 100755 --- a/lib/puppet/type/exec.rb +++ b/lib/puppet/type/exec.rb @@ -211,10 +211,7 @@ module Puppet log the output when the command reports an error. Values are **true**, *false*, *on_failure*, and any legal log level." - values = [:true, :false, :on_failure] - # And all of the log levels - Puppet::Util::Log.eachlevel { |level| values << level } - newvalues(*values) + newvalues(:true, :false, :on_failure) end newparam(:refresh) do |