help-cfengine
[Top][All Lists]
Advanced

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

Re: [Cfengine] Re: cfengine Debian apt-get


From: Bas van der Vlies
Subject: Re: [Cfengine] Re: cfengine Debian apt-get
Date: Thu, 23 Dec 2004 18:51:22 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Sami J. Mäkinen wrote:
Pe5kyTac0 wrote:

What I don't see is a way to run the following in cfengine


if apt-show-versions | grep "portmap" then
apt-get remove portmap
fi




The way i do it is in request.cf. This always imported in cfagent.conf.

GAWK = ( FileExists(/var/lib/dpkg/info/gawk.list)

shellcommands:
        !GAWK::
                "$(SCRIPT_DIR)/install_pkg gawk"



                








reply via email to

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