help-cfengine
[Top][All Lists]
Advanced

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

ExecResult()


From: David Douthitt
Subject: ExecResult()
Date: Tue, 17 Sep 2002 09:24:22 -0500
User-agent: Mutt/1.4i

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...





reply via email to

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