Re: [Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread Peter Meier
> 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.

[Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread linuxbsdfreak
Hi All, I did an strace on the puppet client strace puppet agent --test --noop and found out that it does an lstat and open. something like this lstat("/opt/swapfiles/GQ/example1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/opt/swapfiles/GQ/example1", O_RDONLY|O_NONBLOCK|O_DIRECTORY) =