domingo, 20 de mayo de 2012

Snipet: [Puppet] Is there a way to limit the number of agents that can run concurrently?

Is there a way to limit the number of agents that can run concurrently?

Source: Puppet User list

Hi all,

I've set up a Puppet environment with a master managing around 80
agents. I would like to set a limit on the number of agents that can
be performing puppet runs at any given moment...so, for example, if
there are already 3 puppet runs ongoing, the 4th agent should be put
on hold until one of the 3 runs finishes.

Is there a way to configure this? It would be perfect if it can be set
within node groups.

Thanks,
Karim


---


For a similar scenario I use mcollective with puppetd agent and puppet commander

It will evenly spread the agent's runs in the given interval with the given concurrency.

No hay comentarios: