File: cfengine_enterprise_hub_ha.cf

package info (click to toggle)
cfengine3 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,552 kB
  • sloc: ansic: 163,161; sh: 10,296; python: 2,950; makefile: 1,744; lex: 784; yacc: 633; perl: 211; pascal: 157; xml: 21; sed: 13
file content (41 lines) | stat: -rw-r--r-- 1,000 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#################################################
# CFEngine Enterprise Hub HA policy inclusion
#################################################

bundle common cfengine_enterprise_hub_ha
# @brief Inputs specific to CFEngine Enterprise High Availability
{
  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 => { };

}
body file control
# @brief Include policy specific to CFEngine Enterprise High Availability
{
  inputs => { @(cfengine_enterprise_hub_ha.inputs) };
}