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