>Forum: CFEngine Help
>Subject: edit_template array variable expansion
>Author: jremond
> any::
> "name" string => "srv1";
> "name" string => "srv2";
>
> "ip" string => "192.168.0.1";
> "mac" string => "52:54:00:00:00:00";
>
> "ip" string => "192.168.0.2";
> "mac" string => "52:54:00:00:00:01";
>
> "hosts" slist => getindices("name");
How can this work at all? There are multiple strings with the same name
and no variable policy set. getindicies calls a array that is not
declared in this bundle.
--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine