diff options
author | danielsdeleo <dan@opscode.com> | 2012-12-21 13:44:00 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-01-03 16:27:57 -0800 |
commit | daab98592920fd8aeb32fb9cd539b6019614c698 (patch) | |
tree | c2ec0d6afac313dca098b599fa39b36e9e421419 /lib/chef/provider/cookbook_file.rb | |
parent | 269e11e8012f3468d4489d62078dff40577628f7 (diff) | |
download | chef-daab98592920fd8aeb32fb9cd539b6019614c698.tar.gz |
[CHEF-3557] fix file security reporting for files on Unix
* windows still needs work
* directories still need work
* needs tests for the case that *only* security metadata is updated
(correct content)
Conflicts:
spec/functional/resource/file_spec.rb
Diffstat (limited to 'lib/chef/provider/cookbook_file.rb')
-rw-r--r-- | lib/chef/provider/cookbook_file.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/cookbook_file.rb b/lib/chef/provider/cookbook_file.rb index c9e9f5fa56..46a4935844 100644 --- a/lib/chef/provider/cookbook_file.rb +++ b/lib/chef/provider/cookbook_file.rb @@ -48,6 +48,7 @@ class Chef tempfile.close FileUtils.cp(file_cache_location, tempfile.path) end + update_new_file_state Chef::Log.info("#{@new_resource} created file #{@new_resource.path}") end else |