help-cfengine
[Top][All Lists]
Advanced

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

Re: Shellcommands - howto alter environment variables?


From: Adrian Phillips
Subject: Re: Shellcommands - howto alter environment variables?
Date: Fri, 10 Oct 2003 13:23:28 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>>>> "Pieter" == Pieter Thysebaert <pieter.thysebaert@rug.ac.be> writes:

    Pieter> I want to install proftpd on some of these machines, so
    Pieter> the FAI-cfengine Shellcommands section contains something
    Pieter> like

    Pieter> FTPSERVER:: "DEBIAN_FRONTEND=noninteractive
    Pieter> /usr/bin/apt-get --yes -f install proftpd"

    Pieter> However, this syntax is not accepted it seems (cfengine
    Pieter> nags about wanting a full path-to-executable at the start
    Pieter> of the command line)

"/bin/sh -c 'ENV=value command'"

Sincerely,

Adrian Phillips

-- 
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/




reply via email to

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