diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-10-07 17:20:52 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-10-07 17:20:52 -0700 |
commit | 90ff3ee555c8b5a1b124456e8e1f4554271b28d3 (patch) | |
tree | 1e70868bbe99dcdbe99ccd8fbcf7bb1048567bc3 /lib/chef/mixin/command.rb | |
parent | 1defdb7a6d04db25b04a2e87ccb08599ccca35dc (diff) | |
download | chef-90ff3ee555c8b5a1b124456e8e1f4554271b28d3.tar.gz |
A whole bunch of missing changes!
Diffstat (limited to 'lib/chef/mixin/command.rb')
-rw-r--r-- | lib/chef/mixin/command.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/mixin/command.rb b/lib/chef/mixin/command.rb index 85e3c466eb..08344148a5 100644 --- a/lib/chef/mixin/command.rb +++ b/lib/chef/mixin/command.rb @@ -41,10 +41,10 @@ class Chef end end - if args.has_key?(:unless) - status = popen4(args[:unless]) { |p, i, o, e| } + if args.has_key?(:not_if) + status = popen4(args[:not_if]) { |p, i, o, e| } if status.exitstatus == 0 - Chef::Log.debug("Skipping #{args[:command_string]} - unless #{args[:unless]} returned #{status.exitstatus}") + Chef::Log.debug("Skipping #{args[:command_string]} - unless #{args[:not_if]} returned #{status.exitstatus}") return false end end |