From 990cca06ffee547aeda6a543e3cbf256f0b32bce Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 6 Sep 2018 15:14:24 -0700 Subject: 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 --- lib/chef/resource/msu_package.rb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'lib/chef/resource/msu_package.rb') 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 -- cgit v1.2.1