diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-05-15 06:51:48 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-05-15 07:04:21 -0700 |
commit | 38a38ba43aa68e05c7316649cb1ac3079e595e2a (patch) | |
tree | 11d4841e1cec0da9d4487d654c7513a5a07f9d16 /lib/chef/resource/windows_package.rb | |
parent | 422e9a95df1c542f76c3060b48f4f7b0a99c531d (diff) | |
download | chef-38a38ba43aa68e05c7316649cb1ac3079e595e2a.tar.gz |
Surface checksum attribute
Diffstat (limited to 'lib/chef/resource/windows_package.rb')
-rw-r--r-- | lib/chef/resource/windows_package.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb index 6c6dea0f5a..e900619100 100644 --- a/lib/chef/resource/windows_package.rb +++ b/lib/chef/resource/windows_package.rb @@ -79,6 +79,14 @@ class Chef end end + def checksum(arg=nil) + set_or_return( + :checksum, + arg, + :kind_of => [ String ] + ) + end + def remote_file_attributes(arg=nil) set_or_return( :remote_file_attributes, |