help-cfengine
[Top][All Lists]
Advanced

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

Executing commands depending on results


From: Harish Chauhan
Subject: Executing commands depending on results
Date: Tue, 11 Nov 2003 12:04:05 -0500


Hi,

I am testing cfengine to manage Linux machines. We have a typical requirement at this stage, what we want is as follows :

....
........

packages :

        linux : :
       
        rpm-build  version=0:4.1-1 cmp=le  define=true_class  elsedefine=false_class

        true_class::
                < we want to execute some commands at this stage >        Example : rpm -Uvh  /..../,,,,,/ rpm-build-1.4.0*
       
        false_class::
                < we want to execute some commands at this stage >

tidy :


Looking forward to your reply.....

Thanks in advance..

Regards, Harish Chauhan
reply via email to

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