Skip to content

Issue calling "choco install" using --source=URL syntax #145

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

Closed
labrown opened this issue Jan 12, 2016 · 1 comment
Closed

Issue calling "choco install" using --source=URL syntax #145

labrown opened this issue Jan 12, 2016 · 1 comment

Comments

@labrown
Copy link

labrown commented Jan 12, 2016

Greetings,

Using boxstarter 2.6.25 I just ran into an issue with boxstarter and a packer build based on mwrock-packer-templates. I call package.ps1 using this command in boxstarter.ps1:

Install-BoxstarterPackage -PackageName a:\package.ps1 -Credential $cred

and have this line in package.ps1:

choco install -y local-puppet --source=http://choco01.EXAMPLE.COM/chocolatey -ia 'PUPPET_AGENT_STARTUP_MODE=Manual'

which fails. The repo source URL isn't passed correctly when boxstarter intercepts the "choco install" call. I changed the command to:

choco install -y local-puppet --s http://choco01.EXAMPLE.COM/chocolatey -ia 'PUPPET_AGENT_STARTUP_MODE=Manual'

and it worked fine.

@mwrock mwrock closed this as completed in af9573c Jan 16, 2016
@mwrock
Copy link
Member

mwrock commented Jan 16, 2016

Thanks for reporting this! The fix will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants