help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cfengine] shellcommands: 3: Bad file descriptor]


From: Russell Adams
Subject: Re: [Cfengine] shellcommands: 3: Bad file descriptor]
Date: Mon, 19 Sep 2005 21:18:00 -0500
User-agent: Mutt/1.4.2.1i

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                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

Attachment: pgpM0LomBAuAg.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]