On 09/11/2012 08:57 AM, no-re...@cfengine.com wrote:

> The version mentioned, 3.2.1, is pretty old.  You might consider an upgrade.
> I am not certain that iteration over foriegn lists will work.  Typical
>  practice is to make it local then iterate over that.

> var:
>    'local_list' slist => { "@{g.some_list}" };
>
> reports:
>    cfengine:
>       "local_list = ${local_list}";

I don’t think that globally referenced list iteration support was added 
until 3.3.x But the pattern that Neil showed is how you would deal with 
it in 3.2.1 (import the list locally, i think is whats its usually called).


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to