lib/chef/resource/remote_directory.rb in chef-0.8.16 vs lib/chef/resource/remote_directory.rb in chef-0.9.0.a3
- old
+ new
@@ -19,12 +19,12 @@
require 'chef/resource/directory'
class Chef
class Resource
class RemoteDirectory < Chef::Resource::Directory
-
- def initialize(name, collection=nil, node=nil)
- super(name, collection, node)
+
+ def initialize(name, run_context=nil)
+ super
@resource_name = :remote_directory
@path = name
@source = ::File.basename(name)
@delete = false
@action = :create