cookbook 'hipchat_handler', '~> 0.1.8'
hipchat_handler (5) Versions 0.1.8 Follow0
Installs/Configures hipchat_handler
cookbook 'hipchat_handler', '~> 0.1.8', :supermarket
knife supermarket install hipchat_handler
knife supermarket download hipchat_handler
Description
A chef_handler
cookbook that sends reports and exceptions to Hipchat.
This cookbook is heavily based on rackspace-cookbooks/chef-slack_handler.
My company (sadly) decided to abandon Slack in favor of Hipchat, and I wanted to keep the same features with it.
Have fun with it and feel free to contribute !
Requirements
- The
chef_handler
cookbook - An existing Hipchat auth token
- A working room name
Usage
- Create a new auth token in Hipchat
- Set the
room
andauth_token
attributes above on the node/environment/etc. - Include this
hipchat_handler
recipe or put it on your run_list.
Attributes
-
node['chef_client']['handler']['hipchat']['auth_token']
- The Auth token of you Hipchat integration -
node['chef_client']['handler']['hipchat']['room']
- Your Hipchat room
Optional attributes
-
node['chef_client']['handler']['hipchat']['emoji_url']
- The message emoji icon url (default: nil) -
node['chef_client']['handler']['hipchat']['detail_level']
- The level of detail in the message. Valid options arebasic
,elapsed
(default: 'basic') -
node['chef_client']['handler']['hipchat']['report_success']
- Report to Hipchat even when run is successful (default: false) -
node['chef_client']['handler']['hipchat']['timeout']
- Hipchat connector timeout in seconds (default: 10)
Credits
Borrowed everything from the slack_handler
cookbook ! Thanks to them !
License
hipchat_handler
is provided under the Apache License 2.0. See LICENSE
for details.
Dependent cookbooks
chef_handler >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.8
- Allow Hipchat Handler to report compile phase errors #3
No changelog until 0.1.8
0.1.0
- Initial release of hipchat_handler
Collaborator Number Metric
0.1.8 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.8 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.1.8 failed this metric
FC066: Ensure chef_version is set in metadata: hipchat_handler/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: hipchat_handler/metadata.rb:1
FC069: Ensure standardized license defined in metadata: hipchat_handler/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: hipchat_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.8 passed this metric
Testing File Metric
0.1.8 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.1.8 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 include a tag that matches this cookbook version number
0.1.8 failed this metric
0.1.8 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.1.8 failed this metric
FC066: Ensure chef_version is set in metadata: hipchat_handler/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: hipchat_handler/metadata.rb:1
FC069: Ensure standardized license defined in metadata: hipchat_handler/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: hipchat_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.8 passed this metric
Testing File Metric
0.1.8 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.1.8 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 include a tag that matches this cookbook version number
0.1.8 failed this metric
FC067: Ensure at least one platform supported in metadata: hipchat_handler/metadata.rb:1
FC069: Ensure standardized license defined in metadata: hipchat_handler/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: hipchat_handler/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.8 passed this metric
Testing File Metric
0.1.8 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.1.8 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 include a tag that matches this cookbook version number
0.1.8 failed this metric
0.1.8 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 include a tag that matches this cookbook version number