Since releasing a Campfire LWRP for Chef a few weeks ago, my team has evaluated and subsequently transitioned to Atlassian’s HipChat service. Luckily I was able to reuse the framework I had already created for Campfire as the basis for a HipChat LWRP.
The LWRP should work with any modern version of Chef. When you use
to access the LWRP in your own recipes, the default recipe for this cookbook will install
the required ‘hipchat’ gem.
room- the name of the room you would like to speak into (requied).
token- authentication token for your HipChat account (required).
nickname- the nickname to be used when speaking the message (required).
message- the message to speak. If a message is not specified, the name of the
hipchat_msgresource is used.
notify- toggles whether or not users in the room should be notified by this message (defaults to true).
color- sets the color of the message in HipChat. Supported colors include: yellow, red, green, purple, or random (defaults to yellow).
failure_ok- toggles whether or not to catch the exception if an error is encountered connecting to HipChat (defaults to true).
1 2 3 4 5 6 7 8 9