On 22-06-11 09:44, Bas van der Vlies wrote:
> On 21-06-11 21:49, Seva Gluschenko wrote:
>> I'm not sure if I've read you right, but if you mean that or => ""
>> works and or => {} doesn't, perhaps, it's high time to file a bug
>> report about that, because it must be strictly the opposite.
>>
R
On 21-06-11 21:49, Seva Gluschenko wrote:
> I'm not sure if I've read you right, but if you mean that or => ""
> works and or => {} doesn't, perhaps, it's high time to file a bug
> report about that, because it must be strictly the opposite.
>
That is correct the "" works and { } doesn't, see:
{{
Forum: Cfengine Help
Subject: Re: Question about classes
Author: nba1314
Link to topic: https://cfengine.com/forum/read.php?3,22490,22561#msg-22561
Yesterday I was in the game to buy equipment, the result has been deceived many
Runescape Gold. Later, my friend told me that person in the long
I'm not sure if I've read you right, but if you mean that or => ""
works and or => {} doesn't, perhaps, it's high time to file a bug
report about that, because it must be strictly the opposite.
2011/6/21 Bas van der Vlies :
>
> On 21 jun 2011, at 16:47, Seva Gluschenko wrote:
>
>> Well, or => must
On 21 jun 2011, at 16:47, Seva Gluschenko wrote:
> Well, or => must be followed by a list { }, and expression => must be
> followed by a string "", definitely. Perhaps, your tests were
> unsuccessful because of wrong definitions for expressions defining
> NO_PBS_MOM and NODES.
>
Seva,
Thanks
Well, or => must be followed by a list { }, and expression => must be
followed by a string "", definitely. Perhaps, your tests were
unsuccessful because of wrong definitions for expressions defining
NO_PBS_MOM and NODES.
2011/6/21 Bas van der Vlies :
> On 17-06-11 16:17, Bas van der Vlies wrote:
>
On 17-06-11 16:17, Bas van der Vlies wrote:
>
> On 17 jun 2011, at 15:07, Seva Gluschenko wrote:
>
>> I'd rather rewrote it as follows:
I have done some experiments and was a bit surprise over the outcome, maybe
some can explain to me why some work and others not:
* reference is:
http://cfengi
On 17 jun 2011, at 15:07, Seva Gluschenko wrote:
> I'd rather rewrote it as follows:
>
> classes:
> 'PBS_reg' expression => regcmp(".*r[0-9]+n[0-9].*");
> 'PBS_ok'not => classify("gb-r7n1.irc.sara.nl");
> 'PBS_MOM' and => { "PBS_ok", "PBS_reg", "${sys.host}" };
>
> 2011/
I'd rather rewrote it as follows:
classes:
'PBS_reg' expression => regcmp(".*r[0-9]+n[0-9].*");
'PBS_ok'not => classify("gb-r7n1.irc.sara.nl");
'PBS_MOM' and => { "PBS_ok", "PBS_reg", "${sys.host}" };
2011/6/17 Jesse Becker :
> On Fri, Jun 17, 2011 at 05:25:44AM -0400,
On Fri, Jun 17, 2011 at 05:25:44AM -0400, Bas van der Vlies wrote:
>I want to define a classs like this:
> classes:
> "PBS_MOM" and => { !classify("gb-r7n1.irc.sara.nl"), regcmp(
>".*r[0-9]+n[0-9].*", "$(sys.host)" ) };
>
>This is not a valid syntax. Is it possible to set a class and
I want to define a classs like this:
classes:
"PBS_MOM" and => { !classify("gb-r7n1.irc.sara.nl"), regcmp(
".*r[0-9]+n[0-9].*", "$(sys.host)" ) };
This is not a valid syntax. Is it possible to set a class and use the 'not'
operator? For me it would be useful or are there other w
11 matches
Mail list logo