summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_package.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-05-15 06:51:48 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-05-15 07:04:21 -0700
commit38a38ba43aa68e05c7316649cb1ac3079e595e2a (patch)
tree11d4841e1cec0da9d4487d654c7513a5a07f9d16 /lib/chef/resource/windows_package.rb
parent422e9a95df1c542f76c3060b48f4f7b0a99c531d (diff)
downloadchef-38a38ba43aa68e05c7316649cb1ac3079e595e2a.tar.gz
Surface checksum attribute
Diffstat (limited to 'lib/chef/resource/windows_package.rb')
-rw-r--r--lib/chef/resource/windows_package.rb8
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,