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]> 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].
> 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.
>  
>  

-- 
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.


Reply via email to