diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-11 08:52:48 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-14 12:51:58 -0800 |
commit | fcddd49c722bce14ccb889dd61c919993e361ae4 (patch) | |
tree | 17712ac7d9728c8ca142e83dfd48eb234c5aae44 /lib/chef/resource | |
parent | cf522b0da066e34a843646301dfecb8f5360329e (diff) | |
download | chef-fcddd49c722bce14ccb889dd61c919993e361ae4.tar.gz |
why is 'identity' different than 'name_property'?
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 1f50e65b4b..ba55cb15a5 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -53,7 +53,7 @@ class Chef property :content, [ String, nil ], desired_state: false property :backup, [ Integer, false ], desired_state: false, default: 5 property :checksum, [ String, nil ], regex: /^[a-zA-Z0-9]{64}$/ - property :path, String, name_property: true + property :path, String, name_property: true, identity: true property :diff, [ String, nil ], desired_state: false property :atomic_update, [ true, false ], desired_state: false, default: Chef::Config[:file_atomic_update] property :force_unlink, [ true, false ], desired_state: false, default: false |