----- "Nigel Kersten" <nig...@google.com> wrote:
> On Thu, Aug 20, 2009 at 10:39 AM, Digant C > Kasundra<dig...@stanford.edu> wrote: > > > > Hello everyone, > > > > We're pondering moving to git for our version control system for > Puppet manifests. However, since we have 4 puppetmasters, we're > wondering how to deal with timestamps. Since git doesn't preserve the > timestamps, and instead, sets the current timestamp to every file it > modifies, this will create a problem for us since if a file on each of > puppetmasters has a different timestamp, puppet clients will > continually update that file each time they check in with a different > puppetmaster. How are others dealing with this issue? I hope it isn't > using checksums because we manage a lot of files and that would be a > huge performance impact. > > git checkout to a directory. > > Then use rsync with the -c option to ignore based on checksum, not > mod-time to copy the files into the actual locations your > puppetmasters serve from. > > Or is that what you meant you didn't want to do with "I hope it isn't > using checksums" ? I meant I didn't want to tell puppet to use checksums. It is probably fine with rsync, though it does seem like a duel sync method, but I guess it will have to work. Thanks Nigel! -- Digant C Kasundra <dig...@stanford.edu> Technical Lead, ITS Unix Systems and Applications, Stanford University --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---