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
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
{
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
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