Re: [Puppet Users] Override default schedule for all resources

2021-07-07 Thread Martin Alfke
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


> On 5. Jul 2021, at 11:28, 'Christian Masopust' via Puppet Users 
>  wrote:
> 
> 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
>  
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/002301d77180%242f22c780%248d685680%24%40chello.at.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/77936753-371D-4273-B9B3-A943B9093263%40gmail.com.


[Puppet Users] Override default schedule for all resources

2021-07-06 Thread 'Christian Masopust' via Puppet Users
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 :)

 

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

 

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