summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-02-13 16:34:47 +0000
committerTim Smith <tsmith@chef.io>2018-02-14 11:37:36 -0800
commit5c2b9e201f65d04252a86b1ad89d756f3e73792f (patch)
tree7eaa3b8131eef7afa79422a79b0219021a5972b6 /lib/chef/resource/file.rb
parentc563a379b2ac9a47f5bd5c9e0c40bebed86aae8c (diff)
downloadchef-5c2b9e201f65d04252a86b1ad89d756f3e73792f.tar.gz
Add new introduced and description resource properties to many resource
Not all of them, but a good chunk. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r--lib/chef/resource/file.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb
index 787992fc24..98341ff940 100644
--- a/lib/chef/resource/file.rb
+++ b/lib/chef/resource/file.rb
@@ -25,10 +25,11 @@ require "pathname"
class Chef
class Resource
- # Use the file resource to manage files directly on a node.
class File < Chef::Resource
include Chef::Mixin::Securable
+ description "Use the file resource to manage files directly on a node."
+
if Platform.windows?
# Use Windows rights instead of standard *nix permissions
state_attrs :checksum, :rights, :deny_rights