Main Contents

puppet camp los angeles 2012

May 3, 2012

Puppet Camp LA 2012 is being held on May 19th and hosted by Media Temple in Culver City. I’m excited to be a speaker this year. I’ll be talking about running Puppet on CloudStack instances and automating other parts of your infrastructure. Although the details will be focused on what it takes to run Puppet specifically on CloudStack instances, the methodology I will be presenting translates to other clouds and bare-metal infrastructure. Check out the Eventbrite page to see more details.

Filed under: Puppet | Comments (0)

puppet svn pre-commit hook

April 18, 2012

I wanted a subversion pre-commit hook script that did the following:

  • Ensures all *.pp files in the transaction can be validated by the parser
  • Ensures all *.pp files pass a puppet-lint check
  • Ensures all *.erb files pass a syntax check

I poked around a bit, but it looks like most of the existing pre-commit hook scripts were a bit out of date (wouldn’t work on puppet >= 2.7). Also, I didn’t see a script that also ran puppet-lint. That led me to write my own pre-commit hook. You can find my script on my github page.

Filed under: Puppet | Comments (1)

noc-display

April 3, 2012

We have a couple of extra monitors lying around at work as well as some mac minis and other assorted hardware that isn’t being used. We wanted to mount the monitors to the wall and have the typical performance graphs, red/green monitors, etc. displayed on them.

After attending SCALE 10X and seeing @lolcatstevens‘ talk on haproxy where he used impress.js as the presntation software, I knew I wanted to use impress.js for this. What I set out to build was a simple webpage using impress.js that takes a list of urls from a config file, automatically lays each url out in an iframe on the canvas, then rotates through them, refreshing each iframe before it is displayed. What I ended up with is something I’m calling noc-display. You can find a live demo of it here.

Filed under: Computers | Comments (0)