summaryrefslogtreecommitdiff
path: root/lib/chef/resource/git.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-06 15:14:24 -0700
committerTim Smith <tsmith@chef.io>2018-09-06 15:38:31 -0700
commit990cca06ffee547aeda6a543e3cbf256f0b32bce (patch)
tree6d303ed79e59e8847d9cd241a4b2a011abafdb32 /lib/chef/resource/git.rb
parent1f2bd56d781868cd259b71ce56e6b9bc992f0bea (diff)
downloadchef-990cca06ffee547aeda6a543e3cbf256f0b32bce.tar.gz
Add additional resource descriptions
Filling in more of the missing resource descriptions using the descriptions straight from the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/git.rb')
-rw-r--r--lib/chef/resource/git.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/git.rb b/lib/chef/resource/git.rb
index 7e756db78f..d0a78adc0e 100644
--- a/lib/chef/resource/git.rb
+++ b/lib/chef/resource/git.rb
@@ -21,11 +21,11 @@ require "chef/resource/scm"
class Chef
class Resource
class Git < Chef::Resource::Scm
- description "Use the git resource to manage source control resources that exist"\
- " in a git repository. git version 1.6.5 (or higher) is required to"\
- " use all of the functionality in the git resource."
+ description "Use the git resource to manage source control resources that exist in a git repository. git version 1.6.5 (or higher) is required to use all of the functionality in the git resource."
- property :additional_remotes, Hash, default: lazy { Hash.new }
+ property :additional_remotes, Hash,
+ description: "A Hash of additional remotes that are added to the git repository configuration.",
+ default: lazy { Hash.new }
alias :branch :revision
alias :reference :revision