-
Notifications
You must be signed in to change notification settings - Fork 136
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
dynamic arguments fail when chocolateyinstall.ps1 has no arguments #77
Comments
@lmayorga1980 looks like the arguments are not being applied successfully - What version of the choco provider and what version of chocolatey? |
It appears that you may not have applied the information as the instructions have stated. https://forge.puppetlabs.com/chocolatey/chocolatey#install-options-with-quotes--spaces Try this: install_options => ['-override', '-installArgs', '"', 'f', '""C:\\Temp\\${pkg}.properties""','-i','silent', '"'], Note the double double quotes in surrounding something you need quoted. |
Interesting since the it did not contain the spaces. Now it seems that the ${pkg} variable is not interpolated.
|
But you want to specify quotes. If you don't need quotes passed it becomes easier. Try this instead install_options => ['-override', '-installArgs', '"', 'f', """C:\\Temp\\${pkg}.properties""",'-i','silent', '"'], |
you can also add |
See the expanded one...
|
3600 seconds. That's a long time. |
Not completely sure I follow. What is the option you set? |
…ter/MODULES-4562_use_original_choco (MODULES-4562) Use actual choco.exe
chocolateyinstall.ps1
puppet
log file
https://gist.github.com/lmayorga1980/664e90b62b944dd199c6
The text was updated successfully, but these errors were encountered: