Just discovered etckeeper
yum install etckeeper etckeeper init -d /etc etckeeper commit "Inital Commit"
Once you have done the above, your /etc will be under git version control. You can then make changes to configuration files in /etc/* and etckeeper will commit your changes to git at a regular interval and thus give you the ability to roll back if you make a detrimental change.
etckeeper installs the scripts and cron jobs that will auto-commit changes daily ( be warned some packages i.e. webmin update files in /etc daily so you will end up with a lot of versions )
0 Comments