rdist to update some lines

Gautam Gopalakrishnan ggop at madras.dyndns.org
Fri Dec 19 03:53:37 PST 2003


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




More information about the freebsd-questions mailing list