summaryrefslogtreecommitdiff
path: root/services/debian.cf
diff options
context:
space:
mode:
authorJulien Dessaux2017-06-07 14:29:48 +0200
committerJulien Dessaux2017-06-07 14:29:48 +0200
commit1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e (patch)
tree1a821a9a4a71e078d2a86f2d03ae097db6112d3e /services/debian.cf
parentremoved lsb ubuntu package because of too many dependencies (diff)
downloadmasterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.tar.gz
masterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.tar.bz2
masterfiles-1b5b2004e0e647b89f54f0c3af0ef72a4eae9a5e.zip
Added debian support from ubuntu policies
Diffstat (limited to 'services/debian.cf')
-rw-r--r--services/debian.cf60
1 files changed, 60 insertions, 0 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";
+}