summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-06-25 09:42:02 -0700
committerTim Smith <tsmith84@gmail.com>2019-06-25 09:42:02 -0700
commitaaadd66a79c6e047071b0aecbf2de45b35c091ec (patch)
tree96317d2741b7edc5583de60efc7ed15aa582a15c /lib/chef/resource
parentd4e30e7291a6aa8291c436cc373185d431a04591 (diff)
downloadchef-aaadd66a79c6e047071b0aecbf2de45b35c091ec.tar.gz
Add introduced fields for chocolatey_sourcechoco_docs
This way we get the proper docs for Chef 15.1. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-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."