help-cfengine
[Top][All Lists]
Advanced

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

Re: ExecResult()


From: Mark . Burgess
Subject: Re: ExecResult()
Date: Tue, 17 Sep 2002 16:38:44 +0200 (MET DST)

Yes, you need 2.0.3 at least. I would recommend just replacing
cfagent binary with the depot one until you get a new package.
Cfengine can be upgraded piece by piece, 

M

On 17 Sep, David Douthitt wrote:
> I'm using cfengine 2.0.0 on HP-UX 11.0.
> 
> cfagent doesn't seem to recognize either of the
> following constructions:
> 
> control:
> 
>   myvar = ( ExecResult(/bin/cat /etc/PATH) )
> 
>   myvar2 = ( "exec /bin/cat /etc/PATH" )
> 
> In running cfengine, the first would result in
> myvar being equal to a null value; the second would
> result in an error:
> 
>   MakePath(exec /usr/bin/cat /etc/PATH)
>   cfengine:devserv: Cannot stat /exec /usr/bin/cat /etc/PATH/.
> 
> Running /bin/cat /etc/PATH from the command line results
> in:
> 
>   # /usr/bin/cat /etc/PATH
>   /opt/sudo/bin:/opt/sudo/sbin:/opt/tar/bin:/usr/bin:[..snip.....]
> 
> Is it just that I'm running 2.0.0?  I didn't see any mention
> of ExecResult in the ChangeLog, and I'm stuck with 2.0.0 until
> someone releases an HP depot of 2.0.4 - unless I give up using
> a package...
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

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