diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-19 11:22:19 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-19 11:22:19 -0800 |
commit | 034f00f6c466c3924e5fdb069b484d1961283c76 (patch) | |
tree | e2f6d9b911c838df661d1bd9cd643858a19847b9 /lib/chef/resource/chocolatey_package.rb | |
parent | fc813e21f253d5278cb42710874a34cfebfcc8ca (diff) | |
download | chef-034f00f6c466c3924e5fdb069b484d1961283c76.tar.gz |
Add descriptions and @since comments to all resources
From the docs site
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/chocolatey_package.rb')
-rw-r--r-- | lib/chef/resource/chocolatey_package.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb index 77bdcb197a..58bcab8b39 100644 --- a/lib/chef/resource/chocolatey_package.rb +++ b/lib/chef/resource/chocolatey_package.rb @@ -20,6 +20,9 @@ require "chef/resource/package" class Chef class Resource + # Use the chocolatey_package resource to manage packages using Chocolatey on the Microsoft Windows platform. + # + # @since 12.7 class ChocolateyPackage < Chef::Resource::Package resource_name :chocolatey_package @@ -31,7 +34,6 @@ class Chef property :options, String property :package_name, [String, Array], coerce: proc { |x| [x].flatten } - property :version, [String, Array], coerce: proc { |x| [x].flatten } property :returns, [Integer, Array], default: [ 0 ], desired_state: false end |