Brian E. Seppanen wrote:

> I have an action that I need to perform on a regular basis, and the
> means of determining if the update should be done requires an SQL
> query. I can write a script that will return 1 or 0 to define a
> variable, but how do I provide the feedback to cfengine based on the
> return code as to whether the action should be performed or not...

Define a class based on ReturnsZero in the classes: section.

Make your action contingent upon that class being defined.


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to