That did the trick, thanks!
Probably should be a link to this under the classes section as well.
Sorry for the waste of time, I just couldn't see the forest for the
trees =]
Thanks again,
Michael
On Apr 7, 2006, at 4:26 PM, Brendan Strejcek wrote:
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