Kartar.Net
If I had my hand full of truth, I would take good care how I opened it
This week I wanted to show people how easy it is to write Puppet report processors that do more that just store reports or log output. With that in mind I have written nine new report processors that I’ll be showing over this next week. We’re going to start with two new report processors - Puppet IRC and Puppet Ganglia!
Puppet IRC The first, the Puppet IRC report processor, notifies an IRC channel of failed Puppet runs with the name of the host that failed and the date.
The estimable John Vincent has been developing a lighter weight version of the Apache Zookeeper configuration store. He’s called it Noah (I don’t know if it has two of everything but it’s pretty well stocked). One of the things I’ve been wanting to do since he got started was write some Puppet integration for it. The integration is in the form of a module called Puppet-Noah. It contains a few items that should prove useful in using Puppet with Noah but is very much an initial take on integration and I’d welcome further feedback and ideas.
I was looking at Jesse Newland’s excellent knife-github-cookbooks tool and thought that this would be an excellent tool to write for Puppet too. With the release of Puppet Faces this is now incredibly easy to do. I created a tool called Puppet-GitHub-Face that allows you to install and compare modules from GitHub to modules in your Puppet module path. Currently Puppet Faces are only supported in Puppet 2.7.0 and later (2.
One of the challenges of hosting projects on GitHub and their ticket trackers elsewhere is linking items like GitHub Pull Requests with tickets. I’ve written a very simple API-driven prototype tool called GhostRed to do some simple integration. GhostRed scans GitHub pull requests, creates Redmine tickets in an appropriate project for them and then closes the request with a comment that includes a link to the ticket created. You can install GhostRed with:
I whipped up a Puppet module to install Cloud Foundry VCAP that you can see here. It’s basic and crude in places. It’ll also take a while to run as VCAP relies on RVM and NodeJS which require compilation of pieces rather than packaged installation. The module will work on Debian, Ubuntu, CentOS/Red Hat/Fedora which is useful because the vcap-setup installer only runs on Ubuntu. It’s also very new so feedback and testing welcomed so I can refine it some more.