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 me
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
I recall fixing this message a while ago, but I presume everyone is
saying that it is still present in 3.1?
On 11/25/2010 09:35 PM, Michael Potter wrote:
> I use policy=>"free" on the variable to avoid these messages. Not sure
> if this is a solution or a workaround though...
>
> vars:
>
>
I use policy=>"free" on the variable to avoid these messages. Not sure
if this is a solution or a workaround though...
vars:
"foo"
slist =>
{
readstringlist ( "/tmp/foo" , "#.*" , "[\n]" , 1000 ,
10 )
}, policy
s, 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/25 :
>> Forum: Cfengine Help
>> Subject: Re: "Duplicate selection of value fo
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
rruption.
2010/11/25 :
> 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/vie
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 relate
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 mea
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 o
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 co
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...
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
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,
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: szarag...@salesforce.com
Link to topic: https://cfengine.com/forum/read.php?3,19046,19275#msg-19275
Sorry, forgot to mention I'm running 3.0.5p1 on centos 5.
___
Help-cfe
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: szarag...@salesforce.com
Link to topic: https://cfengine.com/forum/read.php?3,19046,19274#msg-19274
I see the same type of error message...
cf3 !! Duplicate selection of value for variable "secondary_packages"
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19046,19164#msg-19164
Update. I upgraded to 3.1.0 final yesterday but still see this warning.
___
Help
I'd have to say that the authentication problems I was seeing with 1.1.2
release seem to have disappeared with the Beta. Quite seamless now.
Can't wait for the official release!
deb
On 11/3/10 8:32 AM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: duplic
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19046,19050#msg-19050
Thank goodness! This one had us stumped. THanks, Neil
___
Help-cfengine mailing list
Help
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19046,19048#msg-19048
I'll try again with the 3.1 final. BTW, Mark after regenerating all new keys
and performing new key exchanges the authentic
Forum: Cfengine Help
Subject: Re: duplicate selection of value error
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19046,19047#msg-19047
Doesn't happen for me using 3.1.0 and your example.
Not long now, T-minus 4 days and cou
Forum: Cfengine Help
Subject: Re: !! Duplicate selection of value for variable
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,18976,19032#msg-19032
1. Where is the variable redefinition in the bundle provided in my original
post?
2. Why does this identical bundle invoked in
Forum: Cfengine Help
Subject: Re: !! Duplicate selection of value for variable
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18976,19030#msg-19030
For some reason, you are "trying to" redefine a variable that is declared (by
default) to be
Forum: Cfengine Help
Subject: Re: !! Duplicate selection of value for variable
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,18976,19029#msg-19029
Nobody has a clue?
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https
On Mon, May 17, 2010 at 4:43 PM, Seva Gluschenko
wrote:
> I still get no clue why and how this construction is better than
> process_select internal feature of Cfengine3 itself )
>
process_select does not work very well on Solaris, as it will see across
zones. You need Nova or above for this to d
I still get no clue why and how this construction is better than
process_select internal feature of Cfengine3 itself )
2010/5/17 Michael Potter :
>
>
> On Mon, May 17, 2010 at 4:26 PM, Daniel Dehennin
> wrote:
>>
>> mega...@gmail.com writes:
>>
>> > It turns out a simple "grep -v grep" at the end
On Mon, May 17, 2010 at 4:26 PM, Daniel Dehennin <
daniel.dehen...@baby-gnu.org> wrote:
> mega...@gmail.com writes:
>
> > It turns out a simple "grep -v grep" at the end of the shell command
> > did the trick:
> >
> > "myarray[$(mykeys)]" string => execresult("/usr/bin/ps -f | grep
> > $(mylist[$(
mega...@gmail.com writes:
> It turns out a simple "grep -v grep" at the end of the shell command
> did the trick:
>
> "myarray[$(mykeys)]" string => execresult("/usr/bin/ps -f | grep
> $(mylist[$(mykeys)]) | grep -v grep","useshell");
That's why pgrep exists ;-)
--
Daniel Dehennin
Récupérer ma c
It turns out a simple "grep -v grep" at the end of the shell command did
the trick:
"myarray[$(mykeys)]" string => execresult("/usr/bin/ps -f | grep
$(mylist[$(mykeys)]) | grep -v grep","useshell");
On May 14, 2010 8:05pm, Michael Potter wrote:
On Fri, May 14, 2010 at 4:58 PM, Сева Глущ
On Fri, May 14, 2010 at 4:58 PM, Сева Глущенко wrote:
> The following promise
>
> "myarray[$(mykeys)]" string => execresult("/usr/bin/ps -f | grep
> $(mylist[$(mykeys)])","useshell");
>
> will expand not the way you expecting it. It doesn't mean
>
> "myarray[a]" string => execresult("/usr/bin/ps -
The following promise
"myarray[$(mykeys)]" string => execresult("/usr/bin/ps -f | grep
$(mylist[$(mykeys)])","useshell");
will expand not the way you expecting it. It doesn't mean
"myarray[a]" string => execresult("/usr/bin/ps -f | grep
$(mylist[a])","useshell");
"myarray[b]" string => execresul
What you are doing should work. We'd need to see you methods to
understand the error. AFAIK the left side of the usebundle line currently
has no purpose so it can be anything.
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is f
32 matches
Mail list logo