From aaadd66a79c6e047071b0aecbf2de45b35c091ec Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 25 Jun 2019 09:42:02 -0700 Subject: Add introduced fields for chocolatey_source This way we get the proper docs for Chef 15.1. Signed-off-by: Tim Smith --- lib/chef/resource/chocolatey_source.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/chef/resource') 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." -- cgit v1.2.1