diff options
Diffstat (limited to '')
-rw-r--r-- | services/debian.cf | 60 | ||||
-rw-r--r-- | services/main.cf | 7 |
2 files changed, 65 insertions, 2 deletions
diff --git a/services/debian.cf b/services/debian.cf new file mode 100644 index 0000000..f05e6a0 --- /dev/null +++ b/services/debian.cf @@ -0,0 +1,60 @@ +bundle agent debian +{ + vars: + debian:: + "wanted" slist => { + "at", + "bridge-utils", + "curl", + "dstat", + "git", + "htop", + "iptables", + "mailutils", + "ncdu", + "socat", + "tig", + "tmux", + "tree", + "vim", + }; + debian&!containers:: + "wanted" slist => { + @(wanted), + "ethtool", + "iptstate", + "ipvsadm", + "lvm2", + "mosh", + "nmap", + "ntpdate", + "openntpd", + "openssh-server", + "needrestart", + }; + debian&console_julien:: + "wanted" slist => { + @(wanted), + "apt-file", + "asciidoc", + "build-essential", + "cgdb", + "cmake", + "gpa", + "pass", + "pwgen", + "sipcalc", + "valgrind", + "weechat", + "whois", + }; + packages: + debian:: + "$(wanted)" + policy => "present", + package_module => apt_get, + classes => if_repaired("debian_$(wanted)_add_repaired"); + reports: + any:: + "$(this.bundle): $(wanted) installed" ifvarclass => "debian_$(wanted)_add_repaired"; +} diff --git a/services/main.cf b/services/main.cf index 7444279..a1bea6d 100644 --- a/services/main.cf +++ b/services/main.cf @@ -8,8 +8,11 @@ bundle common classify { vars: - "bundles" slist => { "ubuntu" }; - "inputs" slist => { "services/ubuntu.cf" }; + "bundles" slist => { "debian", "ubuntu" }; + "inputs" slist => { + "services/debian.cf", + "services/ubuntu.cf", + }; classes: any:: "containers" or => { |