From owner-freebsd-isp Fri Mar 22 15:29:31 2002 Delivered-To: freebsd-isp@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id 0B0FD37B400 for ; Fri, 22 Mar 2002 15:29:22 -0800 (PST) Received: by draco.over-yonder.net (Postfix, from userid 100) id A5C59FC2; Fri, 22 Mar 2002 17:29:21 -0600 (CST) Date: Fri, 22 Mar 2002 17:29:21 -0600 From: "Matthew D. Fuller" To: Wim Livens Cc: francisv@dagupan.com, freebsd-isp@FreeBSD.ORG Subject: Re: [OT] Revision control system Message-ID: <20020322172921.A15139@over-yonder.net> References: <10F29E27A956D511B0940050DA8D86A934101D@apmail.dagupan.com> <20020320012636.C29148@over-yonder.net> <20020322232306.GA35947@krijt.livens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5-fullermd.1i In-Reply-To: <20020322232306.GA35947@krijt.livens.net>; from wim@livens.net on Sat, Mar 23, 2002 at 12:23:06AM +0100 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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