diff options
author | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2016-12-28 13:18:47 +0000 |
---|---|---|
committer | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2016-12-28 13:18:47 +0000 |
commit | 76774e2f9acdde177ac83e971ebe95a6b98f1caf (patch) | |
tree | f7aa0c80a046bab7be32eeb115113337b184dee7 /lib/chef/resource | |
parent | 85c9830b3396451af209625ef2263013855ff776 (diff) | |
download | chef-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.rb | 1 |
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 |