summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorVasu1105 <vasundhara.jagdale@msystechnologies.com>2016-12-28 13:18:47 +0000
committerVasu1105 <vasundhara.jagdale@msystechnologies.com>2016-12-28 13:18:47 +0000
commit76774e2f9acdde177ac83e971ebe95a6b98f1caf (patch)
treef7aa0c80a046bab7be32eeb115113337b184dee7 /lib/chef/resource
parent85c9830b3396451af209625ef2263013855ff776 (diff)
downloadchef-76774e2f9acdde177ac83e971ebe95a6b98f1caf.tar.gz
Adding returns property to chocolatey_package resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/chocolatey_package.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb
index 805d3a3121..5460661f6d 100644
--- a/lib/chef/resource/chocolatey_package.rb
+++ b/lib/chef/resource/chocolatey_package.rb
@@ -34,6 +34,7 @@ class Chef
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
end
end