Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chocolatey_package fails using extra options #8437

Open
kenmacleod opened this issue Apr 30, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@kenmacleod
Copy link

commented Apr 30, 2019

Description

#8230 added options parameter while fetching list of available packages. Some options that are allowed for choco install fail when running choco list.

Chef Version

Showed up in 14.11.21, our TK dev instances saw this as recently as 2019-04-26.

Platform Version

Windows, chef-client 14.11.21+

Replication Case

chocolatey_package '<package-name>' do
 options '--install-arguments=NO_START=1'
end

Client Output

From user report, if we need to add more, let us know.

No candidate version available for <package-name>

Stacktrace

N/A

@vsingh-msys

This comment has been minimized.

Copy link
Contributor

commented Apr 30, 2019

Hey @kenmacleod with the provided recipe option

chocolatey_package 'git' do
 options '--install-arguments=NO_START=1'
end

tested with multiple packages and it works fine.
Could you please provide chef-client run in debug mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.