lib/chef/resource/directory.rb in chef-0.8.16 vs lib/chef/resource/directory.rb in chef-0.9.0.a3
- old
+ new
@@ -19,13 +19,13 @@
require 'chef/resource'
class Chef
class Resource
class Directory < Chef::Resource
-
- def initialize(name, collection=nil, node=nil)
- super(name, collection, node)
+
+ def initialize(name, run_context=nil)
+ super
@resource_name = :directory
@path = name
@action = :create
@recursive = false
@allowed_actions.push(:create, :delete)
@@ -71,6 +71,6 @@
)
end
end
end
-end
\ No newline at end of file
+end