summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/cookbook_file/content.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/cookbook_file/content.rb b/lib/chef/provider/cookbook_file/content.rb
index cb777dd916..9f49ba885c 100644
--- a/lib/chef/provider/cookbook_file/content.rb
+++ b/lib/chef/provider/cookbook_file/content.rb
@@ -28,7 +28,7 @@ class Chef
def file_for_provider
cookbook = run_context.cookbook_collection[resource_cookbook]
- file_cache_location = cookbook.preferred_filename_on_disk_location(run_context.node, :files, @new_resource.source, @new_resource.path)
+ file_cache_location = cookbook.preferred_filename_on_disk_location(run_context.node, :files, @new_resource.source)
if file_cache_location.nil?
nil
else