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 > for the package type’s source attribute. > > This is why i want to serve the file via httpd (like i said, it worked with msi files). On Monday, August 5, 2013 9:30:30 AM UTC+2, Martin Alfke wrote: > > 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 > > hth, > > Martin > > On Aug 5, 2013, at 8:01 AM, cko <[email protected] <javascript:>> wrote: > > > hi everyone, i'm trying to roll out an .exe file for the puppet package > provider "windows". > > > > my manifest looks like this: > > > > $package_source = " > http://puppet.local.domain/base_check_mk/windows/check-mk-agent-1.2.3i1.exe" > > > $package_name = "Check_MK Agent 1.2.3i1" > > > > package { "$package_name": > > ensure => installed, > > provider => windows, > > source => "$package_source", > > install_options => ['/S', '/D=C:\check_mk'] > > } > > > > the agent says: > > > > Error: The source does not exist: ' > http://puppet.local.domain/basecheckmk/windows/check-mk-agent-1.2.3i1.exe' > > > > > When i open this link in the browser of the agent, the download of the > file starts. (So the path is correct). > > > > The same procedure works with ".msi" files though. Are .exe files not > supported for this kind of method? > > > > > > -- > > 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 [email protected] <javascript:>. > > To post to this group, send email to > > [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/puppet-users. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
