From owner-freebsd-questions Sat Nov 4 18:16: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.hccnet.nl (pop.hccnet.nl [193.172.127.94]) by hub.freebsd.org (Postfix) with ESMTP id C5DC337B479 for ; Sat, 4 Nov 2000 18:15:53 -0800 (PST) Received: from parmenides.utp.net by pop.hccnet.nl via uds15-123.dial.hccnet.nl [193.173.123.15] with ESMTP id DAA01445 (8.8.5/1.13); Sun, 5 Nov 2000 03:15:46 +0100 (MET) Received: from localhost (janko@localhost) by parmenides.utp.net (8.9.3/8.9.3) with ESMTP id DAA01002; Sun, 5 Nov 2000 03:15:44 +0100 (CET) (envelope-from janko@compuserve.com) X-Authentication-Warning: parmenides.utp.net: janko owned process doing -bs Date: Sun, 5 Nov 2000 03:15:44 +0100 (CET) From: Janko van Roosmalen X-Sender: janko@parmenides.utp.net To: "Jim C. Nasby" Cc: questions@FreeBSD.ORG Subject: Re: system files and version control for multiple machines In-Reply-To: <3A03DE8D.ED560982@nasby.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I haven't used it myself yet but "/usr/ports/sysutils/cfengine" looks interesting. ===Janko van Roosmalen - Vught - Netherlands=== On Sat, 4 Nov 2000, Jim C. Nasby wrote: > > Does anyone have any tools that they use for maintaining config files for a > bunch of machines? Ideally, for each machine you could have some sort of a > 'delta' that contianed whatever custom settings that machine had. This would > be applied to the stock config file that mergemaster/cvsup/whatever gives > you (of course, you'd have to mergemaster to a destination other than / :) > It would also be nice to have a(a bunch of) generic config file(s) for your > network, that would have most of the defaults you like. > > Generic delta file Machine delta file > | | file to get > Base config file -+-> -----------------+----------> installed in /etc > or wherever else > > You'd also want the capability to use different tools to apply the > delta's... for example, for things like /etc/rc.conf, you could just append > the Machine delta file (which would just be a bunch of sh variable > assignments) to the end of the Generic delta file (again, just sh variable > assignments), and install it to /etc/rc.conf. In this case, the delta files > really wouldn't act as delta's at all. But for something like your kernel > config, you'd probably want to start with GENERIC, sed -e 's///' some > things, and add some other things in. You'd want all this in CVS for sanity, > including the results of mergemaster (and whatever other base files) that > everything is based on. > > I'm sure I lost a bunch of people with my long, rambling description here. I > have an idea of how to do this, but I figured it would be worthwhile to get > comments and ideas first. Then I just need to find the time to actually do > it ;) > -- > Jim C. Nasby (aka Decibel!) /^\ > jim@nasby.net /___\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message