On Thu, Mar 22, 2001 at 10:50:07AM +0100, M G Berberich wrote:
> At the moment we have connected stand-alone-systems sharing some
> resources via nfs and nis. From a users view this is O.K. but from
> administrators view it is not. Package-installations/upgrades and
> configuration has to be done on every machine.
> I'm thinking about
> 
> - automatic installation/upgrades of packages on _all_ machines.
>   without the need to ssh into every machine by hand.
> - centralised configuration (nfs-mounted config-files, ...)

I am just in the middle of setting up something quite similar to this.
We chose to rsync the configuration files, but NFS would work just as
well.  Automatic upgrades are made with a cronjob running apt-get update
+ upgrade with noninteractive debconf frontend.

For package installations/removals I wrote a small script that converts a
command-line like 'install galeon evolution' to it's dpkg-selections
equivalent:

        galeon      install
        evolution   install

This list is then fed to dpkg --set-selections on each host, followed by
apt-get dselect-upgrade which does the actual installation or removal.  I
know this is not perfect, but quite painless... until you really do need
to make host-specific configurations.

rsync and the package installer both use SSH with preinstalled,
restricting SSH key so that they are relatively safe.

If you have any comments about this approach, I would love to hear them.


-- 
Tommi Komulainen                                 [EMAIL PROTECTED]
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgplLYx7sHZZL.pgp
Description: PGP signature

Reply via email to