summaryrefslogtreecommitdiff
path: root/services/main.cf
blob: c948457287bc50003329cfc983e818acc330e3d3 (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
30
31
32
33
34
35
36
37
38
39
40
41
bundle agent classify
{
    vars:
        any::
            "bundles" slist => {
                "common",
                "os",
                "julien",
                "bareos_fd",
                "check_mk",
                "sshd",
            };
            "inputs" slist => {
                "services/common.cf",
                "services/applications.cf",
                "services/os.cf",
                "services/julien.cf",
            };
    classes:
        any::
            "containers" or => {
                regline(".*/lxc/.*", "/proc/1/cgroup"),
                regline(".*lxc", "/proc/1/environ"),
            };
            "awh" or => {
                "hurricane",
            };
            "console_julien" or => {
                "andromeda",
                "collab_jde",
                "console",
                "hurricane",
                "legend",
            };
            "mail_servers" or => { "legend" };
    methods:
        ipam::
            "ipam"  usebundle => ipam;
        nagios::
            "nagios"  usebundle => nagios;
}