summaryrefslogtreecommitdiff
path: root/services/ubuntu.cf
blob: 13cd3dfdb006fe858a0b6cc968c69669f86f1ae2 (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
42
43
44
45
46
47
48
49
50
51
52
53
bundle agent ubuntu
{
    vars:
        ubuntu::
            "wanted" slist => {
                "dstat",
                "git",
                "htop",
                "lsb",
                "mailutils",
                "ncdu",
                "socat",
                "tig",
                "tmux",
                "tree",
                "vim",
            };
        ubuntu&!containers::
            "wanted" slist => {
                @(wanted),
                "apt-file",
                "asciidoc",
                "build-essential",
                "cgdb",
                "cmake",
                "ethtool",
                "gpa",
                "iptstate",
                "ipvsadm",
                "lvm2",
                "mosh",
                "nmap",
                "ntpdate",
                "openntpd",
                "openssh-server",
                "needrestart",
                "pass",
                "pwgen",
                "sipcalc",
                "valgrind",
                "weechat",
                "whois",
            };
    packages:
        ubuntu::
            "$(wanted)"
                policy => "present",
                package_module => apt_get,
                classes => if_repaired("ubuntu_$(wanted)_add_repaired");
    reports:
        any::
            "$(this.bundle): $(wanted) installed" ifvarclass => "ubuntu_$(wanted)_add_repaired";
}