controls/update_def_inputs.cf

Table of Contents

This is where the list of update related policy files to include as defined from the augments file is included.

common bodies

u_cfengine_enterprise

Prototype: u_cfengine_enterprise

Description: Inputs specific to CFEngine Enterpise

Implementation:

bundle common u_cfengine_enterprise
{
  vars:
    enable_cfengine_enterprise_hub_ha::
      "input[ha_update]"
        string => "cfe_internal/enterprise/ha/ha_update.cf";
      "input[ha_def]"
        string => "cfe_internal/enterprise/ha/ha_def.cf";

      "def"
        slist => { "ha_def", "ha_update" };

      "inputs" slist => getvalues(input);

    !enable_cfengine_enterprise_hub_ha::
      "inputs" slist => { };
      "def" slist => { "$(this.bundle)" };
}

file bodies

control

Prototype: control

Implementation:

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