Forum: Cfengine Help Subject: Re: Handles vs Classes - Scope Intersection Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18170,18175#msg-18175
Okay, to simplify, here's what I've done: failsafe.cf is now as follows: body common control { version => "1.1.0"; bundlesequence => { "Client" }; inputs => { "lib-conf.cf", "lib-core.cf", "cf-agent.cf" }; } As for promises.cf: bundle common collections { vars: #. Core - Minimal (Don't EVER break these!)... "bundle" slist => { "Client", "Server" }; "inputs" slist => { "lib-conf.cf", #. User configurations "lib-core.cf", #. System variables and library functions "cf-agent.cf", #. Starting point for cfengine clients & servers "cf-serverd.cf" #. Cfengine server configuration }; } body common control { version => "1.2.0"; bundlesequence => { @(collections.bundle) }; inputs => { @(collections.inputs) }; } However I now get a segfault on failsafe.cf, and syntax error on removal of the quotes for promises.cf: cyrus:/srv/cfengine/sysconf# cf-agent -K cf3:/var/lib/cfengine3/inputs/promises.cf:64,25: syntax error, near token '@' !!! No bundlesequence in the common control body Summarizing promises as text to /var/lib/cfengine3/inputs/promises.cf.txt Summarizing promises as html to /var/lib/cfengine3/inputs/promises.cf.html cf-agent was not able to get confirmation of promises from cf-promises, so going to failsafe BAD: key could not be accepted on trust !! Authentication dialogue with 172.31.69.83 failed Challenge response from server 172.31.69.83/172.31.69.83 was incorrect! I: Made in version '1.1.0' of '/var/lib/cfengine3/inputs/cf-agent.cf' near line 35 I: Comment: /var/lib/cfengine3/sbin:hdl$agent$Client$files.copy_from(sbin) ... _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine