# File lib/chef/resource/package.rb, line 30 def initialize(name, run_context=nil) super @action = :install @allowed_actions.push(:install, :upgrade, :remove, :purge, :reconfig) @candidate_version = nil @options = nil @package_name = name @resource_name = :package @response_file = nil @source = nil @version = nil end
# File lib/chef/resource/package.rb, line 75 def options(arg=nil) set_or_return( :options, arg, :kind_of => [ String ] ) end
# File lib/chef/resource/package.rb, line 43 def package_name(arg=nil) set_or_return( :package_name, arg, :kind_of => [ String ] ) end
# File lib/chef/resource/package.rb, line 59 def response_file(arg=nil) set_or_return( :response_file, arg, :kind_of => [ String ] ) end
Generated with the Darkfish Rdoc Generator 2.