Date: Fri, 22 Mar 2002 17:29:21 -0600 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: Wim Livens <wim@livens.net> Cc: francisv@dagupan.com, freebsd-isp@FreeBSD.ORG Subject: Re: [OT] Revision control system Message-ID: <20020322172921.A15139@over-yonder.net> In-Reply-To: <20020322232306.GA35947@krijt.livens.net>; from wim@livens.net on Sat, Mar 23, 2002 at 12:23:06AM %2B0100 References: <10F29E27A956D511B0940050DA8D86A934101D@apmail.dagupan.com> <20020320012636.C29148@over-yonder.net> <20020322232306.GA35947@krijt.livens.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 23, 2002 at 12:23:06AM +0100 I heard the voice of Wim Livens, and lo! it spake thus: > > My point is that all RCS/CVS documentation I've read assumes a typical > code-development environment where each user checks out a local copy > in his own directory. For configuration files, the situation is > different, the checked out file must always reside in a certain > directory and remain checked out at all times. Multiple users must be > able to check it in to commit their changes. Am I missing something ? Yup. The big structure of Makefiles throughout it to install. My layout looks something like configs/ webserver.domain1.com/ etc/ raddb/ localetc/ # /usr/local/etc amanda/ localrc/ # /usr/local/etc/rc.d apache/ # /usr/local/etc/apache mailserver.domain1.com/ etc/ mail/ postfix/ localetc/ etc. etc etc., as necessary. So, on each machine, I keep the tree checked out and CVS update'd (useful since I can do all config edits on my workstation, commit it, then check it out on the target machine), then "cd ~/cvs/configs/this.machine && sudo make install", and it installs the configs and in cases where I feel it's "safe", runs commands to bring the files into server (newaliases, etc). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020322172921.A15139>