cookbook 'run-notifier', '= 0.3.0'
run-notifier (8) Versions 0.3.0 Follow2
Installs/Configures chef-run-notifier
cookbook 'run-notifier', '= 0.3.0', :supermarket
knife supermarket install run-notifier
knife supermarket download run-notifier
chef-run-notifier Cookbook
Run Notifier to send notification to HipChat and / or Slack if chef run successfully or failed.
https://supermarket.chef.io/cookbooks/run-notifier
Requirements
Attributes
chef-run-notifier::default
| Key | Type | Description | Default | 
|---|---|---|---|
| ['run_notifier']['slack']['enabled'] | Boolean | Wheather to enable slack or not | false | 
| ['run_notifier']['slack']['webhook_url'] | String | Webhook URL | https://abc.com | 
| ['run_notifier']['slack']['channel'] | String | Channel | #default | 
| ['run_notifier']['slack']['username'] | String | Username | FainNow | 
| ['run_notifier']['hipchat']['enabled'] | Boolean | Wheather to enable hicphat or not | false | 
| ['run_notifier']['hipchat']['api_token'] | String | HipChat API token | 1234 | 
| ['run_notifier']['hipchat']['username'] | String | Username | FaiNow | 
| ['run_notifier']['hipchat']['room_name'] | String | Room name | default | 
| ['run_notifier']['hipchat']['notify'] | Boolean | Whether to notify user or not | 
Usage
chef-run-notifier::default
Just include chef-run-notifier in your node's run_list:
{
  "name":"my_node",
  "run_list": [
    "recipe[run-notifier]"
  ]
}
Contributing
- Fork the repository on Github
 - Create a named feature branch (like 
add_component_x) - Write your change
 - Write tests for your change (if applicable)
 - Run the tests, ensuring they all pass, 
bundle exec rspecas well askitchen test - Submit a Pull Request using Github
 
License and Authors
Author: Faizal Zakaria
Dependent cookbooks
| chef_handler >= 0.0.0 | 
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
        
            0.3.0 passed this metric
        
  
0.3.0 passed this metric