summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-25 14:56:10 -0700
committerGitHub <noreply@github.com>2019-06-25 14:56:10 -0700
commit04e6ec5e1e69b9d803ed59e44df5125d5b91a13c (patch)
treeb90b840eea1b70dc996ae5e1ee2e18a4d1b10eb1
parente25c621c6902e14654a59d62381b74eeb92f35d7 (diff)
parentaaadd66a79c6e047071b0aecbf2de45b35c091ec (diff)
downloadchef-04e6ec5e1e69b9d803ed59e44df5125d5b91a13c.tar.gz
Merge pull request #8691 from chef/choco_docs
Add introduced fields for chocolatey_source
-rw-r--r--lib/chef/resource/chocolatey_source.rb8
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."