- From: Doug Garstang <
>
- To:
- Subject: [chef] SNS Handler
- Date: Thu, 24 Sep 2015 12:41:12 -0700
I've been trying to implement chef reporting to SNS with this:
The cookbook installs the dependancies, but I want to configure it via client.rb so that it will report on issues during the compile phase.
However, if I add this to client.rb like the doc says:
sns_handler.subject: "Chef-run: <%=
node.name %> - <%= run_status.success? ? "ok" : "error" %>"
Then, I guess this isn't valid ruby or something because the chef client run fails with an error pointing here. :(
Is there a better way to chef run reporting?
Doug.
- [chef] SNS Handler, Doug Garstang, 09/24/2015
Archive powered by MHonArc 2.6.16.