<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-detected-decoding-type="UTF-8"
bgcolor="#ffffff" text="#000000">
On 06/06/2012 06:39 PM, Ohad Levy wrote:
<blockquote
cite="mid:CACUhpZHGXuBYU6f_QWOQ5pFHCXb0mfX2XikwcPk+G-YkjaKeeQ@mail.gmail.com"
type="cite">
<div dir="ltr">[...]<br>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
So what do you say? A bad idea? A brilliant idea? Everyone's doing it
and nobody told me?<br>
</blockquote>
<div>etckeeper</div>
<br>
</div>
</div>
</blockquote>
Thanks for that one (goes to Oron too). On Fedora 14 (running on a
guinea pig virtual machine) it was just yum install etckeeper,
etckeeper init, etckeeper commit "initial commit", and the whole thing
was set up. And I dare to believe that if it's part of a Fedora
distribution, there's probably nothing fundamentally wrong with running
git as root or maintaining version control on configuration files.
Personal experiences reported here were valuable too, of course. Thank
you.<br>
<br>
A nice thing about etckeeper is that it makes commits on yum calls, so
there's a clear before-after view.<br>
<br>
What I liked less, is that the repository is under /etc (not
surprising, and still), so configuration files outside that directory
can't be tracked. /var/lib/tftpboot/pxelinux.cfg/, for example. I
suppose I'll init the git repository on / instead, and fix the
.gitignore file accordingly. With some luck, this will have no effect,
since git will respond exactly the same (won't find a repository in
/etc, climbs up to /). Fingers crossed.<br>
<br>
Eli<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Web: <a class="moz-txt-link-freetext" href="http://www.billauer.co.il">http://www.billauer.co.il</a>
</pre>
</body>
</html>