- From: jfotop <
>
- To:
- Subject: [chef] Exception Handlers with ignore_failure
- Date: Mon, 3 Dec 2012 16:00:55 -0800 (PST)
The following question may be plain dumb, but since I'm not afraid to be
called
dumb, I'm going to ask :p
Is there anyway to use exception handlers on a chef run and get an email (like
the one in
http://docs.opscode.com/essentials_handlers_write.html) if a
resource that has "ignore_failure -> true" ?
I want to configure chef to continue it's run even if some resources fail, but
get notified via email if any resource failed and only if there was a
failure.
I'll say it also in another way:
- If resource with ignore_failure->true fails, continue run but send an email.
- If resource with ignore_failure->false fails, exit chef run and send an
email.
- If nothing fails, don't send an email...
Thanks in advance!!
- [chef] Exception Handlers with ignore_failure, jfotop, 12/03/2012
Archive powered by MHonArc 2.6.16.