On Jul 25, 9:06 am, Peter Meier <[email protected]> wrote:
> > The swapfiles is a large directory with lots of files. Is there a way
> > to avoid this, since its taking lots of time to compile the catalog
> > from the puppetmaster. Can i somehow prevent this?
>
> I guess it's not during compilation, as this happens on the master,
> rather while applying the catalog.

No, he said he traced "puppet agent" on the client, so that's where
all the lstat()ing is happening.  I suspect he wrote "compile" where
he meant "apply".

With that being the case, it looks and sounds like the usual issue
with recursively managing a large directory.  The usual response is
something along these lines:

1) Avoid using puppet to recursively manage large directories or to
manage large files
2) The best alternative is often to package the files for your
system's packaging system, and manage the package instead
3) If you *must* manage the file(s) themselves via Puppet then switch
from MD5 checksumming to something cheaper, such as mtime checking
(checksum => 'mtime').


John

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

Reply via email to