1 |
Seems like you should be able to do something clever by comparing a file list |
2 |
of <master>:/var/db/pkg to <slave>:/var/db/pkg. You'd still have to (or "be |
3 |
able to") manage different config files for each, but this would help keep |
4 |
applications, versions, features, etc. the same. |
5 |
|
6 |
Matt |
7 |
|
8 |
On Friday 22 February 2002 08:28 am, you wrote: |
9 |
> On 22 Feb 2002 jboyens@××××××××.org wrote: |
10 |
> > I'm seriously considering using Gentoo for my office, but I need to |
11 |
> > figure out some ideas on how to get the 8 boxes to "sync-up". I need |
12 |
> > the applications to be the same. Versions, apps installed, features, |
13 |
> > etc. Pretty much I want 8 boxes exactly the same with some minor |
14 |
> > config changes. We mount our /home off of an NFS mount, so that gives |
15 |
> > us concurrent settings and the like. Any suggestions on how to keep |
16 |
> > the packages updated and the same? |
17 |
> |
18 |
> Appoint one of the machines as "master" and have it do updates (I advise |
19 |
> you to do that manually for safety). Then someway copy the files of your |
20 |
> "master" system to all the slaves. You can write some script for doing the |
21 |
> updating. Basically rsync could do most of the job. It doesn't delete old |
22 |
> files though, but |
23 |
> |
24 |
> find / -xdev >filelist |
25 |
> |
26 |
> on the master and |
27 |
> |
28 |
> find / -xdev >slavelist |
29 |
> |
30 |
> on the slaves and than a compare |
31 |
> |
32 |
> cat filelist slavelist |sort |uniq -u >filestodelete |
33 |
> |
34 |
> and a final |
35 |
> |
36 |
> rm `cat filestodelete` |
37 |
> |
38 |
> if you are sure (on the slaves of course) |
39 |
> |
40 |
> Good luck |
41 |
> |
42 |
> Paul |