diff options
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 |
