On Jul 15, 2010, at 10:27 AM, John Cesario wrote:
> Hey all,
>
> This is on puppet 0.25.4:
>
> The manifest for one of the directories looks like this. This class/object
> does not have anything below it (nothing inherits this).
>
> file {
> "/var/lib/data/$name":
> ensure => directory,
> owner => "data",
> group => "data",
> recurse => true,
> mode => 750,
> ignore => ".svn",
> replace => false,
> checksum => undef,
> backup => false,
> source => "puppet:///app/app_data/$seed",
> require => File["/var/lib/app_data"]
> }
>
>
> We use this to initialize an applications data directory, and then dump
> ~500GB of data into it.
>
> The problem is that on subsequent puppet runs when the directory is
> populated, strace still shows puppet doing a full read of all the files in
> there.
>
> Any way to stop this besides doing recurselimit => 0. I would like the
> permissions to be managed, and obviously with recurse => 0 shipping the seed
> files over there becomes difficult.
Frankly, I would use something other than puppet for big files. I'd suggest
rsync, nfs, deb packages, or wget+tar.
If you still want to do it:
*) Is puppet still doing this read on the client?
*) Is puppet still doing this read on the server?
*) Are you pretty sure it's a full read and not just puppet running stat on
each file to make sure the file(s) are there?
--
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.