Michael Grubb wrote:

> I want to define a class based on the exit value of a script. I want
> to be able to do variable substitution in the command

Check out ReturnsZero in the reference. That might allow the variable
interpolation. I would recommend using a module though. The interface is
more stable, and it will be easier to read your code. But if you must
structure your code the other way, ReturnsZero might allow that.

Best,
Brendan

--
Senior System Administrator
The University of Chicago
Department of Computer Science

http://www.cs.uchicago.edu/people/brendan
http://praksys.blogspot.com/
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to