Michael Grubb wrote:
Here are the relevant entries in update.conf: import: main.cf #... snip ... copy: $(cf_master_inputs) dest=$(cf_workdir)/inputs server=$(cf_policy_hosts)The relevant entry in main.cf: control: cf_policy_hosts = ( polserv1.domain:polserv2.domain )
Um, this time I read a little more carefully. I don't know about doing any imports from update.conf, I just don't do it: update.conf alone should be capable of bootstrapping all your configurations.
But even in context main, it doesn't work in my tests just now to define a list variable for 'server' in an imported file, for a copy action in the importing file.
Because update.conf runs in it's own context, and should (at least in my view) be self-contained, there is no getting around some redundancy in its contents with cfagent.conf and friends. Try including your cf_policy_hosts definition in update.conf.
-Ed _______________________________________________ Help-cfengine mailing list [email protected] http://cfengine.org/mailman/listinfo/help-cfengine
