help-cfengine
[Top][All Lists]
Advanced

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

RE: Using nawk with cfengine


From: Wheeler, John
Subject: RE: Using nawk with cfengine
Date: Fri, 18 Jun 2004 12:11:49 -0500

> 
> Thanks for re-affirming what I have discovered.
> 

ouch... a little harsh.

> On a side note: Once the class is set how can you define a variable or
> macro
> depending on class
> 
> i.e.  West class is set I want to use this policyhost
>        East class is set I want to use this policyhost
> 
> But only have one variable set for policyhost.
> 

short circuit the class definition process

classes:
    West = ( ReturnsZero(/bin/grep -i west /etc/resolv.conf) )
    East = .....


 




reply via email to

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