lib/chef/resource/script.rb in chef-0.8.16 vs lib/chef/resource/script.rb in chef-0.9.0.a3

- old
+ new

@@ -19,13 +19,13 @@ require 'chef/resource/execute' class Chef class Resource class Script < Chef::Resource::Execute - - def initialize(name, collection=nil, node=nil) - super(name, collection, node) + + def initialize(name, run_context=nil) + super @resource_name = :script @command = name @code = nil @interpreter = nil end @@ -46,6 +46,6 @@ ) end end end -end \ No newline at end of file +end