help-cfengine
[Top][All Lists]
Advanced

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

Re: Exec a script to determine further action based on return code.


From: Adams, Russell L.
Subject: Re: Exec a script to determine further action based on return code.
Date: Thu, 23 Jun 2005 10:42:41 -0500
User-agent: Mutt/1.4.2.1i

A module could return a class, instead of just a code.

Russell

On Thu, Jun 23, 2005 at 10:37:17AM -0400, 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...
> 
> Any ideas appreciated?
> 
> Brian Seppanen
> seppy@chartermi.net
> 608.826.1464
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine




reply via email to

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