Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

run-notifier (7) Versions 0.2.5

Installs/Configures chef-run-notifier

Berkshelf/Librarian
Policyfile
Knife
cookbook 'run-notifier', '= 0.2.5'
cookbook 'run-notifier', '= 0.2.5', :supermarket
knife cookbook site install run-notifier
knife cookbook site download run-notifier
README
Dependencies
Quality 0%

Build Status

chef-run-notifier Cookbook

Run Notifier to send notification to HipChat and / or Slack if chef run successfully or failed.

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

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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.2.5 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/attributes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7296202ee5ce78f73a8870c0/run-notifier/recipes/default.rb:31