Hey guys, I have a large hierarchy of files that are set up to recursively copy from my puppet master. It takes a long while to copy these files over to the clients - roughly 1 hour. Only 1 or 2 files in the hierarchy will ever change. Is there a better way to do what I''m doing? Thanks -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Nov 10, 4:09 pm, ericlee748 <eric.l...@gmail.com> wrote:> I have a large hierarchy of files that are set up to recursively copy > from my puppet master. It takes a long while to copy these files over > to the clients - roughly 1 hour. Only 1 or 2 files in the hierarchy > will ever change. Is there a better way to do what I''m doing?Puppet checksums every file to determine whether to actually copy it. That is usually what takes most of the time in a scenario such as yours. The standard recommendation is to roll a custom package for your file hierarchy, and distribute that instead (via a Package resource). Recursively copying many files is generally not recommended. Cheers, John -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
* ericlee748 <eric.lee0 at gmail.com> [2010/11/10 14:09]:> I have a large hierarchy of files that are set up to recursively > copy from my puppet master. It takes a long while to copy these > files over to the clients - roughly 1 hour. Only 1 or 2 files in > the hierarchy will ever change. Is there a better way to do what > I''m doing?rsync in an exec ? -- When I am working on a problem I never think about beauty. I only think about how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong. -- R. Buckminster Fuller -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Nov 10, 2:09 pm, ericlee748 <eric.l...@gmail.com> wrote:> Hey guys, > > I have a large hierarchy of files that are set up to recursively copy > from my puppet master. It takes a long while to copy these files over > to the clients - roughly 1 hour. Only 1 or 2 files in the hierarchy > will ever change. Is there a better way to do what I''m doing? > > ThanksSomeone suggested to me that we try vcsrepo and git to manage files. This has worked out very well for large file hierarchies. Git is fast, we can add config files deep in the tree if we''ve set up .gitignore properly and it''s versioned. So far it has done the job. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.