blob: 266cd864f1e9bbb8317aabbf2f5956ad26c8bac6 (
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
|
bundle common classify
{
vars:
any::
"bundles" slist => {
"common",
"flavour",
};
"inputs" slist => {
"services/common.cf",
"services/$(flavour).cf",
};
debian::
"flavour" string => "debian";
freebsd::
"flavour" string => "freebsd";
ubuntu::
"flavour" 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" };
}
|