Closed tknerr closed 7 years ago
Ooops, this was not ready yet. I tried to flag it as WIP but it went unnoticed ;)
WIP - don't merge yet. - I just discovered that options need to be passed as a hash, not a string...
Expect a follow-up PR to fix this ...
WIP - don't merge yet. - I just discovered that
options
need to be passed as a hash, not a string...Currently we can pass only
args
to the chocolatey resource. This PR adds support for passingoptions
as well.The difference:
args
will be passed down to the native installer in the package via choco's--install-arguments='<args>'
commandline optionoptions
will be passed to the choco installer directlySee: https://github.com/chocolatey/chocolatey-cookbook#resource-properties https://github.com/chocolatey/choco/wiki/CommandsInstall