summaryrefslogtreecommitdiff
path: root/promises.cf
blob: 24a989cb8950117255cd92df58368fbba57d44f1 (plain)
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
body common control
{
    any::
        bundlesequence => {
            cfengine_controls,
            classify,
            hello,
        };
        inputs => {
                  @(cfengine_controls.inputs),
                  "services/main.cf",
        };
}

bundle common cfengine_controls
{
    vars:
        any::
            "input[cf_agent]" string => "controls/cf_agent.cf";
            "input[cf_execd]" string => "controls/cf_execd.cf";
            "input[cf_monitord]" string => "controls/cf_monitord.cf";
            "input[cf_serverd]" string => "controls/cf_serverd.cf";
            "input[cf_runagent]" string => "controls/cf_runagent.cf";
            "inputs" slist => getvalues(input);
    reports:
        DEBUG|DEBUG_cfengine_controls::
            "DEBUG $(this.bundle)";
            "$(const.t)defining inputs='$(inputs)'";
}