[kwlug-disc] Someone in this list mentioned a way to manage their /etc/ configs with git
Chamunks
chamunks at gmail.com
Wed Oct 18 17:44:37 EDT 2017
I don't tend to mess with it often but it would be worth looking into what
changes in that directory through regular server usage too.
On Wed, Oct 18, 2017 at 4:28 PM Chris Frey <cdfrey at foursquare.net> wrote:
> 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
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20171018/57255cda/attachment.htm>
More information about the kwlug-disc
mailing list