diff options
author | Daniel DeLeo <dan@opscode.com> | 2012-05-25 15:13:30 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2012-05-25 15:42:47 -0700 |
commit | 527cf2e2d4b565726c890e85c710f3632c7f3700 (patch) | |
tree | 1d6e218be1659a4af31dcd6ad8252912bab753af /chef/lib/chef/mixin/enforce_ownership_and_permissions.rb | |
parent | 7b93b3030ace2bd5faea41d9f23a059679684502 (diff) | |
download | chef-527cf2e2d4b565726c890e85c710f3632c7f3700.tar.gz |
[CHEF-3135] don't set updated to false when no changes are made to ACLs
Diffstat (limited to 'chef/lib/chef/mixin/enforce_ownership_and_permissions.rb')
-rw-r--r-- | chef/lib/chef/mixin/enforce_ownership_and_permissions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/mixin/enforce_ownership_and_permissions.rb b/chef/lib/chef/mixin/enforce_ownership_and_permissions.rb index 1dd219b2ba..e72595c2c8 100644 --- a/chef/lib/chef/mixin/enforce_ownership_and_permissions.rb +++ b/chef/lib/chef/mixin/enforce_ownership_and_permissions.rb @@ -31,7 +31,7 @@ class Chef end access_controls = Chef::FileAccessControl.new(new_resource, path) access_controls.set_all - new_resource.updated_by_last_action(access_controls.modified?) + new_resource.updated_by_last_action(true) if access_controls.modified? end end |