[kwlug-disc] Someone in this list mentioned a way to manage their /etc/ configs with git

Chris Frey cdfrey at foursquare.net
Wed Oct 18 16:26:23 EDT 2017


On Wed, Oct 18, 2017 at 05:08:40PM +0000, Chamunks wrote:
> I'm curious if anyone listening here was a part of that conversation at
> all.  I have a VPS that I keep rented at OVH for the purpose of beating the
> hell out of it all the time trying different things.  I would LOVE to find
> a way to manage its configs across re-installs that doesn't really involve
> me having to write a salt template for it all.

I don't remember if I was involved in that conversation, but
I often just make the /etc directory a git repository (cd /etc ; git init)
and periodically commit changes as a way to track what's going on.

Just remember to restrict the permissions on the .git directory
so sensitive data doesn't leak.

>From there, it's possible to do all the usual git branching, tagging,
remote handling, etc.

- Chris





More information about the kwlug-disc mailing list