lib/cfengine_enterprise_hub_ha.cf

Table of Contents

file bodies

control

Prototype: control

Description: Include policy specific to CFEngine Enterprise High Availability

Implementation:

body file control
{
  inputs => { @(cfengine_enterprise_hub_ha.inputs) };
}

common bodies

cfengine_enterprise_hub_ha

Prototype: cfengine_enterprise_hub_ha

Description: Inputs specific to CFEngine Enterprise High Availability

Implementation:

bundle common cfengine_enterprise_hub_ha
{
  vars:
    enable_cfengine_enterprise_hub_ha::

      "input[ha_main]"
        string => "cfe_internal/enterprise/ha/ha.cf";

      "input[ha_def]"
        string => "cfe_internal/enterprise/ha/ha_def.cf";

      "classification_bundles"
        slist => { "ha_def" };

      "management_bundles"
        slist => { "ha_main" };

      "inputs" slist => getvalues(input);

    !enable_cfengine_enterprise_hub_ha::

      "classification_bundles"
        slist => { "$(this.bundle)" };

      "management_bundles"
        slist => { "$(this.bundle)" };

      "inputs"
        slist => { };

}