summaryrefslogtreecommitdiff
path: root/lib/chef/resource/directory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/directory.rb')
-rw-r--r--lib/chef/resource/directory.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/chef/resource/directory.rb b/lib/chef/resource/directory.rb
index 1f18a4b951..c585985291 100644
--- a/lib/chef/resource/directory.rb
+++ b/lib/chef/resource/directory.rb
@@ -40,8 +40,12 @@ class Chef
default_action :create
allowed_actions :create, :delete
- property :path, String, name_property: true, identity: true
- property :recursive, [ TrueClass, FalseClass ], default: false
+ property :path, String, name_property: true, identity: true,
+ description: "The path to the directory. Using a fully qualified path is recommended, but is not always required."
+
+ property :recursive, [ TrueClass, FalseClass ],
+ description: "Create or delete parent directories recursively. For the owner, group, and mode properties, the value of this attribute applies only to the leaf directory.",
+ default: false
end
end
end