Cfengine configuration directory

Redundancy of policy host etc.

Relevant classes: any

In update.conf, copy the policy from a one host, with failover to another.

copy:

  /$(source)/cfagent.conf 
    dest=/var/cfengine/inputs/cfagent.conf 
    server=$(host1)
    elsedefine=failover

 failover::

  /$(source)/cfagent.conf 
    dest=/var/cfengine/inputs/cfagent.conf 
    server=$(host2)


Note, that cfagent only needs to copy policy updates from a policy host, it does not have to copy policy every time.
Back to documentation