The editfiles wiki page
(http://cfwiki.org/cfwiki/index.php/Editfiles_Examples) mentions using
version control on the cfengine config files. How is everyone else
handling this?
My first idea was to use 'cvs export' to create a dated folder on the
policy server with all of the config files.
A symlink would point to the current version and could be changed
quickly for brute force rollbacks.
checkout command:
cvs export -r qa -d /var/cfengine/master-$(date +%s) cfengine/master
directory structure of /var/cfengine:
...
inputs
master-1111384286
master-1111384164
master -> master-1111384286
modules
...