Scott Vieth
2014-Mar-07 17:31 UTC
[Puppet Users] Windows MSI Package With Multiple install_options
Hello all,
I am looking to do an installation of Splunk Forwarder, which requires
multiple install_options flags to be passed through. It's also required to
be a quiet install using the /quiet flag, but I believe that is passed in
automatically. The code I have crafted looks like this:
package { 'splunkforwarder-6.0-182611-x64-release':
ensure => installed,
provider => 'windows',
source => 'C:\Installs\splunkforwarder-6.0-182611-x64-release.msi',
install_options => {'AGREETOLICENSE => 'YES'},
{'LOGIN_USERNAME' =>
'cs\splunk'}, {'LOGIN_PASSWORD' => '5plunkU53r!'},
{'RECEIVING_INDEXER' =>
'puppet.cs.mgmt:9997'}, {'WINEVENTLOG_SEC_ENABLE' => 1},
{'WINEVENTLOG_SYS_ENABLE' => 1},
}
}
There is a file process above this with copies the file locally, that is
working ok. Just need to see where my syntax is wrong for having multiple
install flags like we do above, I feel like this is off somewhere but I'm
not sure where.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/0a3c9f4b-cdd4-4c55-8202-233f48f1c016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.