Paul Gale
2014-Jun-02 22:04 UTC
[Puppet Users] Controlling the order of stop/starts on refresh between dependent services.
Hi, Using Puppet v2.7.25. I have two services that have a refresh dependency between them, namely: Service['foo'] ~> Service['bar'] This equates to: stop/start 'foo' then stop/start 'bar', whenever 'foo' is refreshed. Ideally I'd like the underlying series of operations to be: stop 'bar', stop/start 'foo', start 'bar'. How can I do this without resorting to using execs? If bar were to be running whilst foo was unavailable (even if for a moment) bad things would happen. To make matters worse (or more interesting) each service is managed by a separate module. Thanks, Paul -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/43e05e4d-e2c7-45e2-a381-670a7bbce0cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.