summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-04 11:41:05 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-02-04 11:41:05 -0800
commit6eae70225008c8b06601a8343a3f57cb10f3c065 (patch)
tree8580a82903860094def6c54c782022352739385f /lib/chef/resource
parent0c05b112458ad62005e871dba22a7e44a845bf85 (diff)
parent4805025146896c537f3110aeceb1fba852897f8c (diff)
downloadchef-6eae70225008c8b06601a8343a3f57cb10f3c065.tar.gz
Merge pull request #2692 from jaymzh/multipackage
Multipackge support
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/package.rb b/lib/chef/resource/package.rb
index 772439b06c..f4f49b543b 100644
--- a/lib/chef/resource/package.rb
+++ b/lib/chef/resource/package.rb
@@ -46,7 +46,7 @@ class Chef
set_or_return(
:package_name,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String, Array ]
)
end
@@ -54,7 +54,7 @@ class Chef
set_or_return(
:version,
arg,
- :kind_of => [ String ]
+ :kind_of => [ String, Array ]
)
end