voxpupuli / puppet-splunk

Manage Splunk servers and forwarders using Puppet
https://forge.puppet.com/puppet/splunk
Apache License 2.0
40 stars 121 forks source link

Error on windows #171

Open thisisrey opened 6 years ago

thisisrey commented 6 years ago

Failed to install: the installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installers package.

the installer wasn't able to be download from the puppet master.

bastelfreak commented 6 years ago

Hi @thisisrey, thanks for rising this issue. Can you please provide more information about your environment? Which operating sytem, which puppet version, which module version, how do you call the module?

treydock commented 6 years ago

I'm running into same issue on Windows 2012 R2 using Puppet 5.3.3 and 7.1.0 of this module. I was able to resolve my issues by setting splunk::forwarder::pkg_provider to windows. The default of undef would not trigger staging and thus the source value would end up being either a Puppet path with puppet:/// or one with https://, depending on src_root.

thisisrey commented 6 years ago

@bastelfreak I'm actually running on Amazon Linux, Puppet 5.0.0 and 7.1.0 module as well. I tried not setting the pkg_provider. What work's for me, is that i downloaded the installer first via file resource download, and then setting the source to the directory where I downloaded the package. Setting pkg_provider to windows didn't work on my side even though i set the source with right path using puppet:///