[Asterisk-Users] Config Revision Control

Douglas Garstang dgarstang at oneeighty.com
Fri Jun 2 14:42:40 MST 2006


Bruce,
 
But, if you have three servers that function the same, don't you have to check the file out three times and check it back in three times?
 
Doug.

-----Original Message-----
From: Bruce Reeves [mailto:asterisk at nortex-networks.com]
Sent: Friday, June 02, 2006 3:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Config Revision Control


I use subversion on a central server and then store each server that is different. The purpose behind it for me was 2 fold, first I have a backup of my configs centeralized and I can roll-back any changes. Second, I can checkout a servers files on a different machine to edit them if I want and check them back when finished. What I meant by file-level is if I edit sip.conf and check it in then the whole svn goes to a new version, not just that file. We use a M$ product that has version control at the file level, so for each file in the library there is a version history. 


On 6/2/06, Douglas Garstang < dgarstang at oneeighty.com> wrote: 

Bruce,
 
Do you run a subversion client on every Asterisk box, and get the files directly, or do run the subversion client on a single central server, and distrubute them from there?
 
Doug.


-----Original Message-----
From: Bruce Reeves [mailto: asterisk at nortex-networks.com]
Sent: Friday, June 02, 2006 3:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [Asterisk-Users] Config Revision Control



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.




On 6/2/06, Douglas Garstang < dgarstang at oneeighty.com> wrote: 


Has anyone got any neat solutions for Asterisk .conf file revision control?
 
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.
 
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.
 
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.
 
Doug.
 
 
 
 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com -- 

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users






-- 
Bruce
Nortex Networks 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com -- 

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users







-- 
Bruce
Nortex Networks 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060602/d05c92f1/attachment.htm


More information about the asterisk-users mailing list