Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19400,19419#msg-19419 Mark Burgess Wrote: --- > I recall fixing this message a while

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19400,19416#msg-19416 I saw it today in 3.1 until I made the correction in my policy as pointed out by Diego. __

Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread Daniel V. Klein
${foo} and $(foo) are equivalent, and @{foo{ and @(foo) are also equivalent. On Nov 25, 2010, at 2:43 PM, Seva Gluschenko wrote: > I'm not Cfengine guru by any kind, but it seems like wrong syntax to me. Try > > "foo" slist => @(bar); > > (parenthesises, not braces). > > By all means, Cfengine

Cfengine Help: Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19400,19409#msg-19409 Seva, The result is the same. Braces and parenthesis are interchangeable in cfengi

Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread Seva Gluschenko
I'm not Cfengine guru by any kind, but it seems like wrong syntax to me. Try "foo" slist => @(bar); (parenthesises, not braces). By all means, Cfengine should have either been producing an error message or handling it correctly, while it actually shows signs of some memory corruption. 2010/11/2

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19400,19407#msg-19407 Bug filed: https://cfengine.com/bugtracker/view.php?id=397 I just noticed another (maybe related) strange behavior

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: mark Link to topic: https://cfengine.com/forum/read.php?3,19400,19406#msg-19406 You are right, it should not make any difference whether you use { } or not around the function. By all means flag it

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19400,19405#msg-19405 Actually, there is a bit of an inconsistency here in the syntax. List variables can be included into other lists a

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19400,19404#msg-19404 Nice catch Diego. I think that the braces were in the reference before, how else would I have come to them, bu

Re: Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread Marc Baudoin
no-re...@cfengine.com écrit : > > readstringlist() returns an array, so the braces around it are not needed. > Removing them make the test work correctly: That's right, thank you! Then the three examples that use readstringlist in the reference manual are wrong because they all use braces...

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19400,19402#msg-19402 readstringlist() returns an array, so the braces around it are not needed. Removing them make the test work correc

Cfengine Help: Re: "Duplicate selection of value for variable ..." messages

2010-11-25 Thread no-reply
Forum: Cfengine Help Subject: Re: "Duplicate selection of value for variable ..." messages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19400,19401#msg-19401 I see it too. I don't know the cause. https://cfengine.com/forum/read.php?3,19046,19046#msg-19046