From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 03:47:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF8A16A4CE for ; Fri, 19 Dec 2003 03:47:51 -0800 (PST) Received: from mail.lphp.org (AAmiens-107-2-2-113.w81-51.abo.wanadoo.fr [81.51.227.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822D443D50 for ; Fri, 19 Dec 2003 03:47:49 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from obsd.dioranews.com (modem209.metz.imaginet.fr [195.68.12.209] (may be forged)) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id hBJBcFYL065490 for ; Fri, 19 Dec 2003 12:38:16 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: freebsd-questions@freebsd.org Date: Fri, 19 Dec 2003 12:47:41 +0100 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312191247.41285.ajacoutot@lphp.org> Subject: rdist to update some lines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 11:47:51 -0000 Hi :) I'm actually using rdist for centralized management of certain files (/etc/hosts, /etc/motd...). Is there a way to use rdist (or any other tools alike) too update a file on a remote server instead of blindly copying the new file over ? What I mean is, for exemple, I would like to share some lines in /etc/make.conf among my servers (but not the entire file), but all of them aren't the same so I do not want /etc/make.conf to be the exact same on all my boxes, only like 3 or 4 lines. Is there a way to do this ? Note that I already had a look at cfengine which does what I'm asking, but it is way too complicated/feature rich for my needs. I would appreciate any inputs... Thanks in advance. Regards, Antoine