From cd2f490844c2c2475197874f21d35412a338ddd1 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 4 Sep 2019 22:51:21 -0700 Subject: support arrays of strings for options Signed-off-by: Lamont Granquist --- lib/chef/resource/chocolatey_package.rb | 4 ++-- 1 file 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 () -# 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], -- cgit v1.2.1