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 ...

Setting emacs zone-mode based on path

At work, we do a fair amount of DNS updates. Our zone files are stored in subversion, and are named according to the domain (with no .zone extension). It’s a real pain when updating a few (or a few dozen) zones in Emacs, since I have to remember to ...

more ...