Playing with augeas for fun and profit

Contrary to what Wikipedia says, the Augeas I'm using isn't at all related to the 5th labour of Hercules. Rather, it's a configuration editing tool and Puppet resource type used primarily to alter and control config files. After recently adding control of /root/.my.cnf to the manifests managing all…