I'm attempting to use Puppet to install an application that requires parameters to be passed to the underlying MSI is a specific way.
Example:
package { 'Vendor Application':
ensure => '8.4.12.0',
source => 'C:\setup.exe',
install_options => '/S /v"REBOOTPROMPT=Supress"'
}
I've noticed that it doesn't matter if I use double quotes for the install_options and escape the inner double quotes or user single quotes, it appears that each time Puppet is adding a slash in front of the double quote.
See below from the --debug output after running "puppet apply test.pp"
Debug: Executing: 'cmd.exe /c start "puppet-install" /w "C:\setup.exe" "/S /v\"REBOOTPROMPT=Supress\""'
Has anyone else encountered this and figured out how to prevent the extra slash from being added?
Thanks!