diff options
author | Tim Smith <tsmith@chef.io> | 2019-06-25 14:56:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 14:56:10 -0700 |
commit | 04e6ec5e1e69b9d803ed59e44df5125d5b91a13c (patch) | |
tree | b90b840eea1b70dc996ae5e1ee2e18a4d1b10eb1 /lib | |
parent | e25c621c6902e14654a59d62381b74eeb92f35d7 (diff) | |
parent | aaadd66a79c6e047071b0aecbf2de45b35c091ec (diff) | |
download | chef-04e6ec5e1e69b9d803ed59e44df5125d5b91a13c.tar.gz |
Merge pull request #8691 from chef/choco_docs
Add introduced fields for chocolatey_source
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/chocolatey_source.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/chef/resource/chocolatey_source.rb b/lib/chef/resource/chocolatey_source.rb index 2b358a22f7..89c5d5a666 100644 --- a/lib/chef/resource/chocolatey_source.rb +++ b/lib/chef/resource/chocolatey_source.rb @@ -19,7 +19,7 @@ class Chef class ChocolateySource < Chef::Resource resource_name :chocolatey_source - description "Use the chocolatey_source resource to add or remove Chocolatey sources." + description "Use the chocolatey_source resource to add, remove, enable, or disable Chocolatey sources." introduced "14.3" property :source_name, String, name_property: true, @@ -32,10 +32,12 @@ class Chef description: "Whether or not to bypass the system's proxy settings to access the source." property :admin_only, [TrueClass, FalseClass], default: false, - description: "Whether or not to set the source to be accessible to only admins." + description: "Whether or not to set the source to be accessible to only admins.", + introduced: "15.1" property :allow_self_service, [TrueClass, FalseClass], default: false, - description: "Whether or not to set the source to be used for self service." + description: "Whether or not to set the source to be used for self service.", + introduced: "15.1" property :priority, Integer, default: 0, description: "The priority level of the source." |