Hi,
I assume that you have the exe file within your module in the files folder.
Adopt the source attribute to the following:
source = 'puppet:///modulename/filename
Put the exe in your module:
modulepath/modulename/files/exe filename
http://docs.puppetlabs.com/references/latest/type.html#file
Hi,
from the official documentation:
Additional Notes on Windows Packages
- The source parameter is required, and must refer to a local .msi
file, a file from a mapped drive, or a UNC path. You can distribute
packages as file resources. Puppet URLs are not currently supported
Installing from a URL is a feature of msiexec rather than the puppet
provider. I think you're stuck using a file resource to download the .exe
and then installing from a local path (or serving directly from a UNC
path). It would be neat if the windows package provider could eat
puppet:///