Hi, I am using file function to copy a directory & its content to few
servers.
I do it below way. I am not sure whether file uses sync mode or does a
copy of every file over & over when something changes. Bcos when running
the puppet daemon using puppetd -test it takes a while.
Where can I find a list of function like file, user group etc & what
args to pass
file { "/export":
ensure => directory,
recurse => true,
owner => "web",
group => "web",
mode => 744,
source =>
"puppet://deepak.silverspringnet.com/repo/export"
}
--
Deepak
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Oct-04 00:08 UTC
Re: Does the file function copy or sync
http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
From: puppet-users-bounces@madstop.com
[mailto:puppet-users-bounces@madstop.com] On Behalf Of Deepak Naidu
Sent: Thursday, 4 October 2007 10:01 AM
To: Puppet User Discussion
Subject: [Puppet-users] Does the file function copy or sync
Hi, I am using file function to copy a directory & its content to few
servers.
I do it below way. I am not sure whether file uses sync mode or does a
copy of every file over & over when something changes. Bcos when running
the puppet daemon using puppetd -test it takes a while.
Where can I find a list of function like file, user group etc & what
args to pass
file { "/export":
ensure => directory,
recurse => true,
owner => "web",
group => "web",
mode => 744,
source =>
"puppet://deepak.silverspringnet.com/repo/export"
}
--
Deepak
*********************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not
the intended recipient you must not use, distribute or copy this
email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of AXA-Tech Australia. Thank you.
**********************************************************************************
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users