diff options
Diffstat (limited to 'lib/chef/resource/cookbook_file.rb')
-rw-r--r-- | lib/chef/resource/cookbook_file.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/cookbook_file.rb b/lib/chef/resource/cookbook_file.rb index ade9c0e3e3..08f4733497 100644 --- a/lib/chef/resource/cookbook_file.rb +++ b/lib/chef/resource/cookbook_file.rb @@ -29,10 +29,11 @@ class Chef use_automatic_resource_name + default_action :create + def initialize(name, run_context=nil) super @provider = Chef::Provider::CookbookFile - @action = "create" @source = ::File.basename(name) @cookbook = nil end |