I've been trying to implement chef reporting to SNS with this:I'm kind of confused about it all. I'm using the sns handler cookbook at https://github.com/onddo/chef_handler_sns-cookbook like it recommends.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.
Archive powered by MHonArc 2.6.16.