diff options
author | Julien Dessaux | 2017-06-07 14:29:48 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-06-07 14:29:48 +0200 |
commit | 1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e (patch) | |
tree | 1a821a9a4a71e078d2a86f2d03ae097db6112d3e | |
parent | removed lsb ubuntu package because of too many dependencies (diff) | |
download | masterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.tar.gz masterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.tar.bz2 masterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.zip |
Added debian support from ubuntu policies
-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 => { |