Kartar.Net
If I had my hand full of truth, I would take good care how I opened it
Since I started playing with it I’ve been a big fan of Sinatra. I’ve built a couple of small applications with it - mostly just prototypes or tools to solve internal problems and been throughly impressed by how easy it is to produce simple apps and to extend those apps with helpers and templates. The only downside is the reminder of the fact that I am lousy with designing HTML/CSS. :) One of the recent prototypes I’ve built is a very simple Puppet status panel.
Some of you may have seen the awesome new metrics, graphing and event platform from DataDog. It’s currently in beta and well worth a look. I saw it at Velocity two weeks ago and knew I had to write an integration with Puppet. So here ’tis! I’ve added a Puppet report processor that sends metrics and events to the DataDog API. To use it install the dogapi gem on your Puppet master
In the vein of last week’s report processors I’ve got another one. The Puppet Zendesk report processor. Puppet Zendesk creates a ticket in your Zendesk help desk for a failed Puppet run with the name of the host that failed and the date. All log output for your Puppet run is also passed to Zendesk and added to the ticket. The Zendesk report processor is easy to install:
Install the httparty and json gems on your Puppet master
Last week in a flurry of Puppet development I had an idea for another Puppet sub-command, this one designed to allow you to log Puppet trouble tickets via the command line. It’s not hugely practical - you can query and create Redmine tickets - but I thought the example might prove useful to someone. It’s called Puppet-Ticket-Face. Currently Puppet Faces are only supported in Puppet 2.7.0 and later (2.7.0 is currently an RC but will hopefully be out soon!
For our second weekend bonus - two final report processors, the first Puppet HipChat and the second Puppet Twilio.
Puppet HipChat Puppet HipChat is a report processor that notifies a HipChat room of a failed Puppet run with the name of the host that failed and the date. It requires the hipchat gem to be installed on your Puppet master:
$ sudo gem install hipchat You can then install puppet-hipcat as a module in your Puppet master’s modulepath.