summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-27 15:43:09 -0500
committerLuke Kanies <luke@madstop.com>2008-02-27 15:43:09 -0500
commitbb8051bc406d1da67db8212e852bb36d1368e953 (patch)
tree6bf92f02574939b66ff2622a9b93c7b6c6529ecd /test
parentff4f65a48392b41b2943e8ccd6762059d10bb46f (diff)
downloadpuppet-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 'test')
-rwxr-xr-xtest/ral/types/exec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ral/types/exec.rb b/test/ral/types/exec.rb
index 4133d8519..e2a3dd9ed 100755
--- a/test/ral/types/exec.rb
+++ b/test/ral/types/exec.rb
@@ -394,8 +394,8 @@ class TestExec < Test::Unit::TestCase
assert_apply(exec)
assert_nothing_raised {
- exec[:command] = "echo logoutput is warning"
- exec[:logoutput] = "warning"
+ exec[:command] = "echo logoutput is on_failure"
+ exec[:logoutput] = "on_failure"
}
assert_apply(exec)