summaryrefslogtreecommitdiff
path: root/services/main.cf
blob: 047e4b1791ac4e1e903b214125f34f7096d4e819 (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
bundle common classify
{
    vars:
        any::
            "bundles" slist => {
                "common",
                "distrib",
            };
            "inputs" slist => {
                "services/common.cf",
                "services/$(distrib).cf",
            };
        debian::
            "distrib" string => "debian";
        ubuntu::
            "distrib" string => "ubuntu";
    classes:
        any::
            "containers" or => {
                regline(".*/lxc/.*", "/proc/1/cgroup"),
                regline(".*lxc", "/proc/1/environ"),
            };
            "console_julien" or => {
                "andromeda",
                "collab_jde",
                "hurricane",
                "legend",
            };
            "mail_servers" or => { "legend" };
}