Last active
August 29, 2015 14:17
-
-
Save smford22/4ebedad7f998c91ff241 to your computer and use it in GitHub Desktop.
Chef Analytics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Send Control to HipChat", | |
"org_name": "<YOUR_ORG>", | |
"modified_by": "<USERNAME>", | |
"rule": "rules \"Run Control\"\n rule on run_control\n when\n status = \"success\"\n then\n notify(\"hipchat-success\", \"<YOUR_NAME> had success in run_control \\\"{{ message.name }}\\\" on node {{ message.run.node_name }}\")\n end\n\n rule on run_control\n when\n status = \"failure\"\n then\n notify(\"hipchat-failure\", \"<YOUR_NAME> has a FAILURE on run_control \\\"{{ message.name }}\\\" on node {{ message.run.node_name }}\")\n end\nend", | |
"with": { | |
"priority": 0 | |
}, | |
"active": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment