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 something external to the server On Jan 6, 2012, at 3:52 PM, simonmcc wrote: > 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 also > be really useful :-) > > Simon. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@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. ________________________________ This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.