Forum: CFEngine Help Subject: Report and array : fails ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,27149,27149#msg-27149
Hi, I got a strange problem .. should work but won't ... vars: servers_management:: "cfadmins" slist => { "a", "b" }; "ssh_public_key" slist => { "key_of_admin_a" }; "ssh_public_key" slist => { "key1_of_admin_b", "key2_of_admin_b" }; reports: my_server:: "$(ssh_public_key[$(cfadmins)])"; "$(ssh_public_key)"; "$(ssh_public_key)"; The report fails : first lines print this : R: $(ssh_public_key) R: $(ssh_public_key) and other two lines works as expected (print 1 and 2 keys from cfadmin). Is that normal ??? I've made other tests with simple list and it works fine ... _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine