CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-08 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,26866,26955#msg-26955 I don't think you can hide those I: messages because you run it with --inform (-I). Why don't you just ru

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-08 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26954#msg-26954 Just tried to use "in_range_define" instead of "out_of_range_define" ... but the "I: ..." stupid report are a

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-08 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26951#msg-26951 phnakarin Wrote: --- > Sorry that I don't follow the threa

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,26866,26935#msg-26935 Sorry that I don't follow the thread from start, but this is a kind of promise you'd like? processes:

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26933#msg-26933 I prefer to define a class : - I can print a report in log file - I can also correctly stop the process using

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26866,26931#msg-26931 If the intent of the example is to kill any unwanted process then there might be no need for a count ma

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26925#msg-26925 This is not working at all ... : body process_count any_count_no_inform(cl) { match_range

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26923#msg-26923 It works like a charm, expect for this little "warning" from Cfengine (how to avoid it since I have added a b

CFEngine Help: Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-07 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26866,26921#msg-26921 Hi Ted Zlatanov, Hi Nick Anderson, Sorry for the delay, I was on another issue related to DRBD (nothing to