Philip

There are a couple of ways:

If your clients run puppetd in daemon mode, then look in the client
configuration file at:
    splay = true
    splaylimit = 1800

We run our puppet clients as a wrapper from cron and make use of the
function which randomises a number based on fqdn (and other options if you
want)

    cron {"puppet client hourly noop":
        user    => root,
        minute  => fqdn_rand(60, "noop"),
        command => "puppet_wrapper_script.sh",
    }

Regards

John

On 12 October 2010 08:09, Philip Brown <phil.googlen...@bolthole.com> wrote:

> I've been poking around the web docs, and dont see an answer to this
> yet:
>
> Is there any pre-existing functionality in puppet, to allow limiting
> parallelism?
>
> Example:
> Lets say that I want all machines to run some sort of job, that
> updates a central database with information about the state of each
> puppet client.
>
> Lets also say, that I have 1000 machines, so if all of them decide to
> do it at the exact same time, it would be a Bad Thing.
> 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)"
>
> --
> 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<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
John Warburton
Ph: 0417 299 600
Email: jwarbur...@gmail.com

-- 
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