summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-09-04 22:51:21 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-09-04 22:51:21 -0700
commitcd2f490844c2c2475197874f21d35412a338ddd1 (patch)
tree7c2284c05c45a37a8ae2af2c177ee800cfa3b9ee
parenta5e90973f27cc7ab88daf60f1a0484ea935b6377 (diff)
downloadchef-lcg/chocolatey-splat-args.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.rb4
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],