Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/portertech/chef-irc-snitch
An exception handler for OpsCode Chef runs, GitHub Gist & IRC.
https://github.com/portertech/chef-irc-snitch
Last synced: about 1 month ago
JSON representation
An exception handler for OpsCode Chef runs, GitHub Gist & IRC.
- Host: GitHub
- URL: https://github.com/portertech/chef-irc-snitch
- Owner: portertech
- License: mit
- Created: 2011-05-30T18:09:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-07-08T19:14:13.000Z (over 12 years ago)
- Last Synced: 2024-11-02T03:42:05.477Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 180 KB
- Stars: 21
- Watchers: 2
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chef - Chef IRC Snitch Handler - An exception handler for OpsCode Chef runs, GitHub Gist & IRC. (Chef handlers / Resources - Application configuration)
README
# Chef IRC Snitch
Chef IRC Snitch is an OpsCode Chef exception handler for notifying
people when a Chef run fails via IRC; providing a link to a private
GitHub Gist containing node information, an exception message, and a
backtrace. The IRC message also includes the node name and its run
list, making it possible to sift/search through logs for a specific
failure. Using GitHub Gists to store failure information provides a
convenient way to share with others.## Installation
gem install chef-irc-snitch
## Usage
Append the following to your Chef client configs, usually at `/etc/chef/client.rb`
# Notify admins via IRC when a Chef run fails
require "chef-irc-snitch"irc_uri = "irc://nick:[email protected]:6667/#admins"
enable_ssl = trueirc_handler = IRCSnitch.new(irc_uri, enable_ssl)
exception_handlers << irc_handler
Alternatively, you can use the LWRP (available @
http://community.opscode.com/cookbooks/chef_handler)## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request