Recommended /etc/ directories to apply version control
I sometimes find myself making changes to some configuration, and needing to go back.
When building my last server, I used git for version control on the /etc/ directory.
Thought it was a good idea until I realized I /etc/pki/ was included. Maybe doesn't mater but still doesn't seem like the right thing to do. Also, files such as /etc/systemd/system/basic.target.wants/firewalld.service are changed not by me but by some other script.
Are there any good practices I should follow regarding version control of configuration files. One for all of /etc/? Maybe each application individually?
Thanks
|