summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-12-11 08:52:48 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-12-14 12:51:58 -0800
commitfcddd49c722bce14ccb889dd61c919993e361ae4 (patch)
tree17712ac7d9728c8ca142e83dfd48eb234c5aae44 /lib
parentcf522b0da066e34a843646301dfecb8f5360329e (diff)
downloadchef-fcddd49c722bce14ccb889dd61c919993e361ae4.tar.gz
why is 'identity' different than 'name_property'?
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/file.rb2
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