diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-10-09 17:52:22 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-10-09 17:52:22 +0000 |
commit | 08900a409350acfb3bea62ea8470095eeae450da (patch) | |
tree | 4d7b1e16505153d1c46fbf5e735ef85a4a1e797e /lib/puppet | |
parent | 133c17fa6665256cafdcd1cf76d2ae50233c44f4 (diff) | |
download | puppet-08900a409350acfb3bea62ea8470095eeae450da.tar.gz puppet-08900a409350acfb3bea62ea8470095eeae450da.tar.xz puppet-08900a409350acfb3bea62ea8470095eeae450da.zip |
Fixing #298 - refreshonly now correctly deals with specified false values
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1751 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
-rwxr-xr-x | lib/puppet/type/exec.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb index 8b964cbb3..c9fa0aa36 100755 --- a/lib/puppet/type/exec.rb +++ b/lib/puppet/type/exec.rb @@ -308,7 +308,12 @@ module Puppet # We always fail this test, because we're only supposed to run # on refresh. def check(value) - false + # We have to invert the values. + if value == :true + false + else + true + end end end |