Cfengine Help: Re: abortclasses/abortbundleclasses ignored

2010-09-30 Thread no-reply
Forum: Cfengine Help Subject: Re: abortclasses/abortbundleclasses ignored Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18310,18558#msg-18558 Ok... it works if I define the abort class in the classes section. That makes it a bit less useful. I want to abort the run if

Cfengine Help: Re: abortclasses/abortbundleclasses ignored

2010-09-29 Thread no-reply
Forum: Cfengine Help Subject: Re: abortclasses/abortbundleclasses ignored Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18310,18549#msg-18549 It would be nice to have some clarification on this in the documentation. Do we need to use a report promise to make it "ki

Re: abortclasses/abortbundleclasses ignored

2010-09-17 Thread Davide Brini
On Friday 17 Sep 2010 11:22:08 Bas van der Vlies wrote: > On 17-09-10 11:57, Davide Brini wrote: > > On Friday 17 Sep 2010 10:38:49 Mark Burgess wrote: > >> This is for dynamical classes set while the config is running. > > > > Thanks. Any way to do what I'm trying to do then? Basically I'd like

Re: abortclasses/abortbundleclasses ignored

2010-09-17 Thread Bas van der Vlies
On 17-09-10 11:57, Davide Brini wrote: > On Friday 17 Sep 2010 10:38:49 Mark Burgess wrote: > >> This is for dynamical classes set while the config is running. > > Thanks. Any way to do what I'm trying to do then? Basically I'd like to be > able to, say, touch a file and have the agent do nothing i

Re: abortclasses/abortbundleclasses ignored

2010-09-17 Thread Davide Brini
On Friday 17 Sep 2010 10:38:49 Mark Burgess wrote: > This is for dynamical classes set while the config is running. Thanks. Any way to do what I'm trying to do then? Basically I'd like to be able to, say, touch a file and have the agent do nothing if it finds that file (I know I can do that by

Re: abortclasses/abortbundleclasses ignored

2010-09-17 Thread Mark Burgess
This is for dynamical classes set while the config is running. On 09/17/2010 11:19 AM, Davide Brini wrote: > As the subject says: I have > > body agent control { > abortclasses => { "stopnow" }; > abortbundleclasses => { "stopnow" }; > } > > but even if that class does get set during the

abortclasses/abortbundleclasses ignored

2010-09-17 Thread Davide Brini
As the subject says: I have body agent control { abortclasses => { "stopnow" }; abortbundleclasses => { "stopnow" }; } but even if that class does get set during the execution of cf-agent, it does not terminate: cf3 -> Checking common class promises... cf3 ?> defining additional global cl