Override default schedule for all resources

18 views
Skip to first unread message

Christian Masopust

unread,
Jul 6, 2021, 5:39:46 PM7/6/21
to puppet...@googlegroups.com

Hi puppet users,

 

we have a daily planned maintenance at 5am on our puppet server which means that during that time

it’s not available for our agents.

 

I’d like to avoid that the agents are trying to connect to the puppetserver during that time.

 

My first idea was to use schedules, but that would mean to define the schedule for each and every resource,
which definitly would be painful J

 

So the next idea was to override the default schedule „puppet“.   Does anyone of you know if that’s possible?

Or do you have other/better ideas how I could handle this?

 

Thanks,

Christian

 

Martin Alfke

unread,
Jul 7, 2021, 10:15:40 AM7/7/21
to Puppet Users
Hi Christian,

instead of running puppet as daemon, you can run puppet via cron and omit the times where you do maintenance on the puppet server.
Besides this: running puppet via cron will allow you to spread the agent connections and compiler work in a far more efficient way, reducing temporary load on the server.

hth,
Martin
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/002301d77180%242f22c780%248d685680%24%40chello.at.

Reply all
Reply to author
Forward
0 new messages