Hi Sean,

On Wed, Dec 21, 2016 at 07:33:18PM +0000, Sean O'Keeffe wrote:
> Use Puppet to configure the cron?

That's the naive approach, which won't work if there are no puppet
runs at all on a host. Any host will only pick up configuation changes
on a puppet run, so when I want to increase a host's puppet run
frequency, I'd either have to invoke a puppet run manually or to wait
for the next run according to the _old_ schedule.

We rejected that idea.

> Also I strongly advise against having all the Puppet agents running at
> the same time, depending on the scale you will likely see performance
> issues on the foreman server/proxy.

Guaranteed, that's why our puppet cron job has a semi-random
component.

> I have an example using the hostname to create a random number and using
> that to create a cron at [1]. but you could use a parameter there instead.

We use the MAC address for that.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to