Re: [Puppet Users] Blocking or gating service restarts?

2012-01-26 Thread Simon McCartney
On 10 January 2012 18:36, Wolf Noble wrote: > just a thought; what if you made a fact for number of apache workers > currently serving something, and base the service restart off of that. > > Might not be the best option; might not even work, but it makes more sense > to me to have the service re

Re: [Puppet Users] Blocking or gating service restarts?

2012-01-10 Thread Wolf Noble
just a thought; what if you made a fact for number of apache workers currently serving something, and base the service restart off of that. Might not be the best option; might not even work, but it makes more sense to me to have the service restart dependent on a local fact than be dependent on

[Puppet Users] Blocking or gating service restarts?

2012-01-06 Thread simonmcc
inside puppet is it possible to block or stall a service restart until some external component clears the restart? for example, I want to make sure a node is bled down on the load- balancer before allowing the restart to happen. a post restart feature of re-enabling in the load-balancer would als