Module: HipChat

Defined in:
lib/hipchat/chef.rb,
lib/hipchat.rb,
lib/hipchat/room.rb,
lib/hipchat/user.rb,
lib/hipchat/client.rb,
lib/hipchat/errors.rb,
lib/hipchat/railtie.rb,
lib/hipchat/version.rb,
lib/hipchat/api_version.rb,
lib/hipchat/file_helper.rb

Overview

Provides a Chef exception handler so you can send information about chef-client failures to a HipChat room.

Docs: wiki.opscode.com/display/chef/Exception+and+Report+Handlers

Install - add the following to your client.rb:

require 'hipchat/chef'
hipchat_handler = HipChat::NotifyRoom.new("<api token>", "<room name>")
exception_handlers << hipchat_handler

Defined Under Namespace

Modules: FileHelper Classes: ApiVersion, BadRequest, Client, ErrorHandler, InvalidApiVersion, InvalidEvent, InvalidUrl, MethodNotAllowed, NotifyRoom, ObjectNotFound, Railtie, Room, RoomMissingOwnerUserId, RoomNameTooLong, ServiceError, TooManyRequests, Unauthorized, UnknownResponseCode, UnknownRoom, UnknownUser, UnknownWebhook, User, UsernameTooLong

Constant Summary collapse

VERSION =
'1.6.0'