Object
# File lib/chef/guard_interpreter/default_guard_interpreter.rb, line 26 def initialize(command, opts) @command = command @command_opts = opts end
# File lib/chef/guard_interpreter/default_guard_interpreter.rb, line 33 def evaluate shell_out(@command, @command_opts).status.success? rescue Chef::Exceptions::CommandTimeout Chef::Log.warn "Command '#{@command}' timed out" false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.