From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 03:53:37 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 CAA9816A505 for ; Fri, 19 Dec 2003 03:53:37 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3841C43D1D for ; Fri, 19 Dec 2003 03:53:33 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9/8.12.9) with ESMTP id hBJBq2hN066562; Fri, 19 Dec 2003 22:52:03 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9/8.12.9/Submit) id hBJBpxc6066557; Fri, 19 Dec 2003 22:51:59 +1100 (EST) Date: Fri, 19 Dec 2003 22:51:59 +1100 From: Gautam Gopalakrishnan To: Antoine Jacoutot Message-ID: <20031219115159.GA66514@madras.dyndns.org> References: <200312191247.41285.ajacoutot@lphp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312191247.41285.ajacoutot@lphp.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: 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:53:37 -0000 On Fri, Dec 19, 2003 at 12:47:41PM +0100, Antoine Jacoutot wrote: > 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 ? My guess is that you could include a file in make.conf which is synced using rsync. Gautam