diff options
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r-- | lib/chef/provider/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb index 054b9718c3..7f4de1eaef 100644 --- a/lib/chef/provider/file.rb +++ b/lib/chef/provider/file.rb @@ -84,7 +84,7 @@ class Chef end # true if we are going to be creating a new file - @needs_creating = !::File.exist?(new_resource.path) || needs_unlinking? + @needs_creating = !::File.exist?(new_resource.path) || needs_unlinking? # Let children resources override constructing the current_resource @current_resource ||= Chef::Resource::File.new(new_resource.name) |