Hello,

Continuing my exploration of cf3, I find associative arrays greats, but
is there any chance to make them multi-dimensional?

Something like:

--8<---------------cut here---------------start------------->8---
vars:
    "Hosts[server1][ipaddress]" string => "10.2.3.4";
    "Hosts[server2][ipaddress]" string => "10.2.3.5";
--8<---------------cut here---------------end--------------->8---

Then doing a getindices("Hosts[server1]").

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgp9CX1f30h6O.pgp
Description: PGP signature

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

Reply via email to