Not sure if it would work always, because if using unison you can get conflicts on files such as serial, inventory.txt ,ca_crl.pem, etc and then you need to merge them manually.
Quoting: Unlike simple mirroring or backup utilities, Unison can deal with updates to *both* replicas of a distributed directory structure. Updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed. On Friday, July 18, 2014 11:03:51 PM UTC+10, Juan Sierra Pons wrote: > > Hi > > What about this approach? [1] Sync Puppet Certs between EC2 regions > > It seems very easy to implement: unison + incron + scripts > > Disclaimer: not tested yet. Hope to have a prof of concept next week. > > Best regards > > [1] http://blog.mague.com/?p=468 > > -------------------------------------------------------------------------------------- > > > Juan Sierra Pons ju...@elsotanillo.net > <javascript:> > Linux User Registered: #257202 > Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo > GPG key = 0xA110F4FE > Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE > -------------------------------------------------------------------------------------- > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b7c10f69-0ebe-4d65-b38f-7bc72f55a39e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.