Smaller directories? :) But seriously Puppet sucks at distributing large directories (you should see posts to the list going back years on this topic). If you look at the file type resource docs (http://docs.puppetlabs.com/references/stable/type.html#file)you can see you can change the checksum used, ignore files (unsure of speed improvements there), recurselimit to limit the depth of recursion and possibly the mtime attribute.
Alternatively, if running *nix you could try rsync in an exec. Your mileage may vary, Den On 10/01/2013, at 12:01, Schofield <dbschofi...@gmail.com> wrote: > I have several directories that are installed and managed with puppet. I am > finding the majority of the time of the puppet run is spent validating the > directory. Are there any tricks to improve the performance of managed > directories? Or a better way than simple file resource with ensure => > directory and recurse => true? > > file {'/xyz/directory' : > ensure => directory, > recurse => true, > source => "puppet:///modules/mymod/directory", > } > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/TuE-ygecAngJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.