[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Evaluating a condition and exiting CFEngine
From: |
Mark Burgess |
Subject: |
Re: Evaluating a condition and exiting CFEngine |
Date: |
Fri, 24 Feb 2006 11:38:30 +0100 |
In cfengine 2.1.19, which I hope to release over the weekend you can ask
cfengine to abort if any class in a given list gets defined.
control:
AbortClasses = ( danger will_robinson )
....
... define=danger # causes agent to abort
... elsedefine=will_robinson # cuases cfagent to abort
M
On Tue, 2006-02-21 at 14:33 -0600, David E. Nelson wrote:
> Hi All,
>
> I'm looking for a method/technique which will perform a check (ie. does a
> file
> exist), and if the check is possitive, have CFEngine exit immediately.
>
> Is this possible?
>
> Thanks,
> /\/elson
>
>