On 10 January 2012 18:36, Wolf Noble <[email protected]> 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 restart dependent on a local fact than be > dependent on something external to the server
Interesting, making the machines LB status (& apache worker count etc would be pretty straightforward, machines already know if they are IS/OOS) - how do I use the fact to influence the restart - still needs a hook in the service resource type right? -- Simon McCartney E: [email protected] M: +44 7710 836 915 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
