Fork me on GitHub


Puppet facter fact for last applied configuration version

For anyone else who sets the Puppet config_version paramater to return the current SVN or Git version of your configuration, here’s a fact that grabs that version (by parsing the cached YAML catalog) and sets it as a fact called “catalog_config_version”. It can then be used for sanity-checking your ...

more ...




The state of Puppet External Node Classifiers

Update November 2013: This post has brought an amazing amount of traffic to my blog, probably because it still seems to be one of the only ENC comparisons out there. Both Dashboard (and Puppet Enterprise Console) and The Foreman have changed quite a bit since I wrote this. Foreman has ...

more ...


Quick and Simple Timestamping of Debug Logs

I’ve been having some issues that may be Puppet-related. Unfortunately, Puppet (at least the old 0.25.4 client that I’m running) doesn’t timestamp the debug logs sent to stdout. I know it’s hanging somewhere, but I need concrete numbers to look at. Here’s ...

more ...

Client-side subversion commit message hooks

While I know this isn’t best practice, since we use LDAP-based auth for our Linux boxes (including a sudoers file based on LDAP group membership), we usually do work on some boxes as root (sudo su -). This includes our puppetmaster, where configs are kept in subversion and edited ...

more ...