I strongly recommend against using different input files as a means of controlling cfengine executions. Cfengine provides a lot of power with the ability to set classes and variables based on what server it is running on - and I believe you lose a lot of that power when you try and control thing externally by adjusting what input files Cfengine sees when it runs.
I recommned you just give all your Cfengine instances all the same input files, and let classes determine which bundles will get run in any given instance, and what values variables get set to. On Fri, Nov 19, 2010 at 6:36 AM, Tom Tucker <[email protected]> wrote: > > > I am testing two policy servers in a redundant configuration. The goal is > to simulate a distributed policy server configuration using SVN the content > source. > > My promises.cf file contains an input entry of "cfservd.conf", without this > line my cf-serverd process will not contain the access related entries it > needs. But with this line listed my clients are also expecting > /var/cfengine/inputs/cfservd.conf to be available locally. If not, they > complain. I could added it to /var/cfengine/masterfiles/client_files, but > when my policy servers sync with ...masterfiles/client_files their custom > cfservd.conf will be over written. > > I obviously missing something minor here. How can I get my policy servers > and clients to both use the files in ../masterfiles/client_files without > stepping on the cfservd.conf files the policy servers needs. > > Can the policy servers workout of a different location (ie > /var/cfengine/policy_servers_files) for its functions while all clients, > including policy servers, will workout of /var/cfengine/inputs for normal > cf-agent/exced activities? > > Thank you for your help, > > _______________________________________________ > Help-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine > > _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
