diff options
author | tylercloke <tyler@opscode.com> | 2012-10-23 10:29:19 -0700 |
---|---|---|
committer | tylercloke <tyler@opscode.com> | 2012-10-23 10:29:19 -0700 |
commit | 6c6f277261f4dbdcff73fec2f2d7548597255c7a (patch) | |
tree | b3cd2a754ccdc67fc3ea2de23a68c0ecc0d55c83 | |
parent | a0b3fe17f3c7cef9cab588fc82ab06c570fe3a09 (diff) | |
download | chef-6c6f277261f4dbdcff73fec2f2d7548597255c7a.tar.gz |
CHEF-3547, fixed bug for permissions in cookbook provider.
-rw-r--r-- | chef/lib/chef/provider/cookbook_file.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chef/lib/chef/provider/cookbook_file.rb b/chef/lib/chef/provider/cookbook_file.rb index 431f3f2367..144afbddeb 100644 --- a/chef/lib/chef/provider/cookbook_file.rb +++ b/chef/lib/chef/provider/cookbook_file.rb @@ -44,9 +44,6 @@ class Chef Chef::Log.debug("#{@new_resource} staging #{file_cache_location} to #{tempfile.path}") tempfile.close FileUtils.cp(file_cache_location, tempfile.path) - # Since the @new_resource.path file will not be updated - # at the time of converge, we must use the tempfile - update_new_file_state(tempfile.path) end Chef::Log.info("#{@new_resource} created file #{@new_resource.path}") end |