diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-04 22:51:21 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-04 22:51:21 -0700 |
commit | cd2f490844c2c2475197874f21d35412a338ddd1 (patch) | |
tree | 7c2284c05c45a37a8ae2af2c177ee800cfa3b9ee | |
parent | a5e90973f27cc7ab88daf60f1a0484ea935b6377 (diff) | |
download | chef-cd2f490844c2c2475197874f21d35412a338ddd1.tar.gz |
support arrays of strings for optionslcg/chocolatey-splat-args
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/resource/chocolatey_package.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb index 76ef173ff5..6feae23686 100644 --- a/lib/chef/resource/chocolatey_package.rb +++ b/lib/chef/resource/chocolatey_package.rb @@ -1,6 +1,6 @@ # # Author:: Adam Jacob (<adam@chef.io>) -# Copyright:: Copyright 2008-2017, Chef Software Inc. +# Copyright:: Copyright 2008-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,7 @@ class Chef allowed_actions :install, :upgrade, :remove, :purge, :reconfig # windows can't take Array options yet - property :options, String, + property :options, [String, Array], description: "One (or more) additional options that are passed to the command." property :package_name, [String, Array], |