I have been bitten on more than one occasion with a forgotten curly brace or missing comma in a puppet manifest. So, I wrote a little git post-commit script that will validate all manifests in a repo. I have tested it on a repo with ~60 modules and ~400 manifests, and it only adds a little bit of latency to committing (less than 1s on my system with the email disabled).

I still like to use continuous integration via Travis or Jenkins to run smoke tests, spec tests, and lint. This post-commit commit script just provides some quick feedback for syntax errors.

https://gist.github.com/3736299#file_post_commit.rb


My first puppet forge contribution: redis

Tue 15 May 2012 by Thomas Van Doren

Today I contributed my very first puppet module back to the community! thomasvandoren/redis is a puppet module to install, configure, and manage redis. It is by no means finished, but it is working. I didn't see any other redis modules in puppet forge, so I thought I would ...

read more

Fixing Master Boot Record on Windows 7

Sat 15 October 2011 by Thomas Van Doren

I recently removed the linux partition from my desktop. I had a linux partition, but it made sense to just use one windows partition and run linux in a vm.

Removing the partition is not a big deal. I just used the Windows Disk Management tool to remove the linux ...

read more

Monitoring RabbitMQ Queues with Zabbix

Sun 09 October 2011 by Thomas Van Doren

Recently I setup some monitoring on a RabbitMQ server using Zabbix. This process is by no means difficult, but I thought it was worth sharing.

I was looking for a solution that did not require additional plugins or packages, but would perform well. Some useful tools for monitoring include: the ...

read more

Jenkins Windows Slave with Git

Tue 27 September 2011 by Thomas Van Doren

There are some articles out there about setting up Jenkins slaves on Windows. This is one more, with a bunch of information about configuring Git. The documentation for setting up Git to work well with Jenkins is surprisingly sparse and the process is extremely frustrating (in my experience). Hopefully this ...

read more

Five python tips

Thu 22 September 2011 by Thomas Van Doren

I have been using python at work for the last year, and had fooled around with it for five years prior to that. I am by no means an encyclopedia of python knowledge, but here are a few pointers that were not obvious to me when I was getting started ...

read more