diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-09 21:09:14 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-09 21:09:14 -0700 |
commit | 23d33adf3d4c879a67067e52f0850bb510571f28 (patch) | |
tree | 05b328a2b15c1f49e4876226f779388978d85049 | |
parent | d57a36eb9996697ebaf3240edafa801bb7664cdd (diff) | |
download | chef-23d33adf3d4c879a67067e52f0850bb510571f28.tar.gz |
Add descriptions to chocolatey_source
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/chocolatey_source.rb | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/chef/resource/chocolatey_source.rb b/lib/chef/resource/chocolatey_source.rb index 2a2948e986..4ced5aa44d 100644 --- a/lib/chef/resource/chocolatey_source.rb +++ b/lib/chef/resource/chocolatey_source.rb @@ -23,10 +23,17 @@ class Chef description "Use the chocolatey_source resource to add or remove Chocolatey sources." introduced "14.3" - property :source_name, String, name_property: true - property :source, String - property :bypass_proxy, [TrueClass, FalseClass], default: false - property :priority, Integer, default: 0 + property :source_name, String, name_property: true, + description: "The name of the source to add. We'll use the resource's name if this isn't provided." + + property :source, String, + description: "The source URL." + + property :bypass_proxy, [TrueClass, FalseClass], default: false, + description: "Whether or not to bypass the system's proxy settings to access the source." + + property :priority, Integer, default: 0, + description: "The priority level of the source." load_current_value do element = fetch_source_element(source_name) |