I do the same thing with set-selections. Unfortunately it was broken on Debian Woody, but it works great on Sarge.
Russell On Tue, Sep 20, 2005 at 07:48:05AM +1200, Steve Wray wrote: > Russell Adams wrote: > > Here's how I configure APT to allow automated installation. > [snip] > > interesting stuff, but what I do is maintain a selections list (output > of dpkg --get-selections) on the cfengine server and manually change > this file to install, deinstall or purge packages. > > When cfengine finds that it has to update this file on the client, it > (more or less) does an apt-get update and an apt-get dselect-upgrade. > > This way, the package selections list is kept under version control, > adding and removing packages are unified into one cfengine script and > its fairly well abstracted; no need to tell cfengine anything about > which packages are installed or removed. > > debconf on the client is configured to pull its config details in from > an LDAP database maintained on the cfengine server. > > No muss, no fuss > :) > > -- > "Politics is the art of looking for trouble, finding it, misdiagnosing > it, and then misapplying the wrong remedies." - Groucho Marx ------------------------------------------------------------------ Russell Adams [EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
pgpiMkXXYUSIr.pgp
Description: PGP signature
_______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
