What is a simple method of arranging to receive e-mail notification
whenever chef-client attempts and fails to converge a node?
I know Chef provides a [flexible framework for various handlers][1],
including exception handlers. At this time, I don't need flexibility; I
need simplicity. I just want to say, "For any of these nodes, when
convergence fails, send a message to "> ." I
hoped I could override in a Chef environment definition a node attribute
used by the [chef-client cookbook][2] so that it would configure nodes
as described, but after various searches of the Chef docs, the whole
Web, and this list, I've yet to find indication that such is a possibility.
References:
[1]: <https://docs.getchef.com/essentials_handlers.html>
[2]: <https://supermarket.getchef.com/cookbooks/chef-client>
--
Phil Mocek
https://mocek.org
Archive powered by MHonArc 2.6.16.