Am 08.05.2014 15:34, schrieb Jonathan Gazeley: > I suppose it would be possible to disable the agent from running as a > daemon and use cron, and the cron job could easily use a MySQL handle > as a locking device. But it still doesn't stop me from simply sshing > to each of the nodes and forcing a puppet run, and breaking the cluster. > > Has anyone done anything like this before? Hope to have some > interesting ideas from you all :)
You could 1. enable splay on the client node 2. use mcollective to orchestrate the agent runs. For example: "Update config file on all MariaDB servers, but only one at a time." See http://www.slideshare.net/PuppetLabs/presentation-16281121 for some more information. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 1596666 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.com -- 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/536B8D9C.5010305%40recommind.com. For more options, visit https://groups.google.com/d/optout.