Re: using variable for list of hosts

2011-02-18 Thread Mark Burgess
Sandra, you must give a fully qualified name for your list @(g.sdm_host_list) not merely @(sdm_host_list) when you refer to it from a different bundle. Just as you need to give a fully qualified host name when you refer to it outside a local domain. Otherwise it is assumed that the variable is d

Cfengine Help: Re: using variable for list of hosts

2011-02-18 Thread no-reply
Forum: Cfengine Help Subject: Re: using variable for list of hosts Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,20762,20764#msg-20764 Try access: "/var/lib/cfengine3/masterfiles/conf" -admit => { @{sdm_host_list} }; +admit => { @{g.sdm_host_list} }; C

using variable for list of hosts

2011-02-18 Thread Sandra Wittenbrock
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, everythi