On Mon, Jan 15, 2007 at 09:09:26PM +1100, Amos Shapira wrote: > On 15/01/07, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > > >Your keyword here is preseed . > > > >> > >> The software I'm thinking about will take all this configuration > >information > >> and build a host-specific package (or maybe a "task" in debian world?) > >which > >> the host will just apt-get (either after a PXE boot or manually upgrade > >with > >> apt-get/aptitude), causing all the changes to be deployed on it. > > > >Host-specific configuration: > >http://dilab.debian.net:800/~joey/d-i/preseed/ > >(the actual selection is done by hostname in netboot.cfg) > > > >In there you can define some extra packages to install (this one is from > >appendix B of the install manual): > ># Individual additional packages to install > >#d-i pkgsel/include string openssh-server build-essential > > > >You can probably automate this to: task-$hostname . Look at sample > >preseed configurations. > > > Thanks. Looks interesting but it seems to be geared towards complete > re-installation of the Debian machine (which is indeed one of the scenarios > I'll need to address) but not for system upgrade - unless I miss something > that will be obvious after more reading about it? > > The current system I'm familiar with is a home-grown system built for RedHat > and which can ADD stuff (users, packages, etc) but does not allow for > automatic removal of packages which are no longer required on the system ( > e.g. a development system which accumulates packages as developers add the > bits they need or want to test but never remove once finished, or a package > was installed because it was required by another package but never gets > removed when the other package's dependency is gone).
aptitude seems to have all the relevant infrastructure in place. I have no idea, though, how it tracks "installed" vs. "auto-installed" packages. So with it you could actually use a per-host task package. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend t ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]