On Oct 11, 2:09 pm, Philip Brown <phil.googlen...@bolthole.com> wrote:
> Is there any pre-existing functionality in puppet, to allow limiting
> parallelism?

There's nothing inherent in puppet, besides the 'splay' options. The
other common solution is to use the $rand_from_fqdn custom Fact
pattern. That said puppet nodes typically won't know of the existence/
state of other nodes.

> So I ideally would like some kind of puppet mechanism that says,
> "run this script... but only if there are less than 10 other machines
> doing the same thing at this particular moment)"

I think this is a different tool, which I use mcollective for.
Capturing registration metadata is pretty simple, see R.Is suggestion.
For orchestrating concurrent actions look at 'mc-puppetd runall' for
an example. It runs puppetd on all of the available nodes with a
specified concurrency. Writing your own version of that plugin should
be trivial.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to