diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-06 15:14:24 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-06 15:38:31 -0700 |
commit | 990cca06ffee547aeda6a543e3cbf256f0b32bce (patch) | |
tree | 6d303ed79e59e8847d9cd241a4b2a011abafdb32 /lib/chef/resource/msu_package.rb | |
parent | 1f2bd56d781868cd259b71ce56e6b9bc992f0bea (diff) | |
download | chef-990cca06ffee547aeda6a543e3cbf256f0b32bce.tar.gz |
Add additional resource descriptions
Filling in more of the missing resource descriptions using the descriptions straight from the docs site.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/msu_package.rb')
-rw-r--r-- | lib/chef/resource/msu_package.rb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/chef/resource/msu_package.rb b/lib/chef/resource/msu_package.rb index 85ab170ee0..9fd39491c9 100644 --- a/lib/chef/resource/msu_package.rb +++ b/lib/chef/resource/msu_package.rb @@ -34,13 +34,16 @@ class Chef default_action :install property :source, String, - coerce: (proc do |s| - unless s.nil? - uri_scheme?(s) ? s : Chef::Util::PathHelper.canonical_path(s, false) - end - end), - default: lazy { |r| r.package_name } - property :checksum, String, desired_state: false + description: "The local file path or URL for the MSU package.", + coerce: (proc do |s| + unless s.nil? + uri_scheme?(s) ? s : Chef::Util::PathHelper.canonical_path(s, false) + end + end), + default: lazy { |r| r.package_name } + + property :checksum, String, desired_state: false, + description: "SHA-256 digest used to verify the checksum of the downloaded MSU package." end end end |