CFEngine Help: Re: Create array from list

2011-07-16 Thread no-reply
Forum: CFEngine Help Subject: Re: Create array from list Author: dklawson Link to topic: https://cfengine.com/forum/read.php?3,22050,22816#msg-22816 I'm having the same issue. I think it is only the use of a list-generated index that causes the problem. If you replace the right-hand side of

Re: Create array from list

2011-05-19 Thread Daniel Dehennin
Daniel Dehennin writes: > Hello, > > I'm trying to create an array with list expansion and wonder why there > is no coordinated iteration. > > Here is my test case: [...] More tests: #v+ body common control { bundlesequence => { "test" }; version => "0.0.6"; } bundle agent test {

Re: Create array from list

2011-05-18 Thread Daniel Dehennin
Daniel Dehennin writes: > Hello, > > I'm trying to create an array with list expansion and wonder why there > is no coordinated iteration. > > Here is my test case: > [...] > #v+ > bin/cf-agent -K -I > !! Redefinition of a constant list "index" > cf3> -- Was {'cf_null'}cf3> now {'test1'}cf3

Create array from list

2011-05-18 Thread Daniel Dehennin
Hello, I'm trying to create an array with list expansion and wonder why there is no coordinated iteration. Here is my test case: #v+ body common control { bundlesequence => { "test" }; version => "0.0.5"; } bundle agent test { vars: "l1" slist => { "test1" }; "arra