I setup a subversion server and a trunk for my different server configs. You might look at that, it does not appear to keep file level versions, but it works great here.<br><br><br><br><div><span class="gmail_quote">On 6/2/06,
<b class="gmail_sendername">Douglas Garstang</b> <<a href="mailto:dgarstang@oneeighty.com">dgarstang@oneeighty.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div text="#000000" bgcolor="#ffffff">
<div><span><font color="#0000ff" face="Arial" size="2">Has
anyone got any neat solutions for Asterisk .conf file revision
control?</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">We
have multiple Asterisk boxes here, that we'd like to maintain a _mostly_ common
set of conf files on. They aren't all the same though. There's subtle
differences. For example, in sip.conf, iax.conf etc, the bindaddr setting
is different. Dundi.conf is very different between each
system.</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">At the
moment I have a file tree on a separate server, and I use the m4 processor to
replace certain unique sections of the files. I have a bunch of scripts to build
sip.conf etc and then rsync the files out to the servers. It works, mostly, but
it isn't elegant.</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">I'd
like to revision control all this. I don't know how it could be done with
revision control though. As I said, not all the files are the same. I don't know
if we'd run a version control client on each Asterisk box, or if we'd run it
centrally, and then use rsync again, to copy the files out.</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Doug.</font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div></div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Bruce<br>Nortex Networks