[Asterisk-Users] Config Revision Control
Douglas Garstang
dgarstang at oneeighty.com
Fri Jun 2 13:42:44 MST 2006
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060602/cf6a25a2/attachment.htm
More information about the asterisk-users
mailing list