Oooh... that looks yummy. I like the idea of being able to stop a service if a later resource (say something being deployed) fails.
On 03/04/2013 11:13 AM, Adam Jacob wrote:
Why don't we make this a resource?
on_failure "run apt-get update" do
notifies :run, "execute[apt-get-update]"
Where match is a regular _expression_ that looks for names of resources.
On 3/4/13 9:06 AM, "Bryan McLellan" < " target="_blank"> > wrote:
On Fri, Mar 1, 2013 at 11:21 PM, Jesse Campbell < " target="_blank"> > wrote:
What about extending the current handler approach? Add the ability toI like the concept of having an exception handler be tied to a
a failed resource (by name) and retry it, just like you can with a
resource or provider, or at least be able to determine what resource
or provider caused the exception, do some bits and retry.
Archive powered by MHonArc 2.6.16.