cookbook 'run-notifier', '= 0.3.2'
run-notifier (8) Versions 0.3.2 Follow2
Installs/Configures chef-run-notifier
cookbook 'run-notifier', '= 0.3.2', :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 rspec
as 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.
Collaborator Number Metric
0.3.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
License Metric
0.3.2 failed this metric
run-notifier does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 failed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
License Metric
0.3.2 failed this metric
run-notifier does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric
0.3.2 failed this metric
run-notifier does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric