Hi Josh,
I re-read this page, and then I saw my mistake....
http://askubuntu.com/questions/61080/how-to-copy-file-to-all-clients-using-puppet
Thank you josh for your answer...!
I have another question, Is it possible to copy several files at once?,
for example, *.msi files to the agent?
or can I copy all the files that I put on modules/sample1/files?..
Or always I have to declare each file or binarie on /etc/puppet/files or
/etc/puppet/modules/sample1/files?
Regards
On 29-03-2012 14:40, Josh Cooper wrote:
Hi Marco,
On Thu, Mar 29, 2012 at 10:29 AM, Josh Cooper <[email protected]
<mailto:[email protected]>> wrote:
Hi Marco,
On Thu, Mar 29, 2012 at 6:34 AM, mparrad <[email protected]
<mailto:[email protected]>> wrote:
Hi guys, I check my fileserver.conf file, and I see that
/etc/puppet/files was allowed to serve files, and also modules,
I tried changing my init.pp file to from this:
file
{"D:/Powershell-Scripts/Apps/splunkforwarder-4.3-115073-x64-release.msi":
mode => 0777,
source =>
'puppet:///modules/splunk/files/splunkforwarder-4.3-115073-x64-release.msi',
}
This should be:
source =>
'puppet:///modules/splunk/splunkforwarder-4.3-115073-x64-release.msi',
Note there's no 'files' component in the URI
See also
http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html#files
HTH,
Josh
--
Josh Cooper
Developer, Puppet Labs
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.