Chef::Resource::Execute
# File lib/chef/resource/script.rb, line 28 def initialize(name, run_context=nil) super @resource_name = :script @command = name @code = nil @interpreter = nil @flags = nil end
# File lib/chef/resource/script.rb, line 37 def code(arg=nil) set_or_return( :code, arg, :kind_of => [ String ] ) end
# File lib/chef/resource/script.rb, line 53 def flags(arg=nil) set_or_return( :flags, arg, :kind_of => [ String ] ) end
# File lib/chef/resource/script.rb, line 45 def interpreter(arg=nil) set_or_return( :interpreter, arg, :kind_of => [ String ] ) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.