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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
