I haven't been able to use a variable for a list of hosts in the access lists. The files in question are world readable, so file owner and permissions should not be an issue.
When I do not use a variable, but list all the servers by IP address, the access works. When defined thusly, everything works: access: "/var/lib/cfengine3/masterfiles/conf" admit => { "255.3.30.207", "255.3.30.201", "255.3.30.207", "255.3.30.46", "255.3.30.47", "255.3.30.48", "255.3.30.49", "255.3.30.64","255.3.30.108", "255.3.30.109", "255.3.30.36", "255.3.30.103", "255.3.30.45", "255.3.30.102", "255.3.30.105" }; When done as follows connection fails: bundle common g{ vars: "sdm_host_list" slist => { "255.3.30.207", "255.3.30.201", "255.3.30.207", "255.3.30.46", "255.3.30.47", "255.3.30.48", "255.3.30.49", "255.3.30.64","255.3.30.108", "255.3.30.109", "255.3.30.36", "255.3.30.103", "255.3.30.45", "255.3.30.102", "255.3.30.105" }; } bundle server access_rules { access: "/var/lib/cfengine3/masterfiles/conf" admit => { @{sdm_host_list} }; } Regards, Sandra _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine