CFEngine's state to ram disk


Load stats after moving state to ram disk.

Earlier this year I mounted /var/cfengine/state to a ram disk . The load change was dramatic, but there are draw backs. A reboot will lose promise locks, so any long ifelapsed jobs will run on cf-agent's next run. The folks at Normation tried this too.

CFEngine best practices: testing



CFEngine's autonomous automation means that your policy, mistakes and all, will be duplicated quickly to all of your hosts. --- Potentially tens of thousands of them. When I taught martial arts it was humbling to watch a class of thirty duplicate my incorrect movement. I didn't know, because I didn't test myself. In martial arts I was simply embarrassed, but in configuration management, mistakes could cost me a raise or even my job. Testing is the paramount best practice for CFEngine. Let me tell you what I have learned.

Continue reading CFEngine best practices: testing...