summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2017-03-12 13:38:37 +0100
committerJulien Dessaux2017-03-12 13:42:50 +0100
commit68e72296b32247fce32a0727958b83eb1fa09a7f (patch)
tree07b28cff5ce19141b79eec93fcb549694d722638
parentAdded cfengine watchdog policy (diff)
downloadmasterfiles-68e72296b32247fce32a0727958b83eb1fa09a7f.tar.gz
masterfiles-68e72296b32247fce32a0727958b83eb1fa09a7f.tar.bz2
masterfiles-68e72296b32247fce32a0727958b83eb1fa09a7f.zip
Prevent installation of unnecessary packages
-rw-r--r--services/main.cf6
-rw-r--r--services/ubuntu.cf16
2 files changed, 16 insertions, 6 deletions
diff --git a/services/main.cf b/services/main.cf
index 440d6d2..7444279 100644
--- a/services/main.cf
+++ b/services/main.cf
@@ -16,5 +16,11 @@ bundle common classify
regline(".*/lxc/.*", "/proc/1/cgroup"),
regline(".*lxc", "/proc/1/environ"),
};
+ "console_julien" or => {
+ "andromeda",
+ "collab_jde",
+ "hurricane",
+ "legend",
+ };
"mail_servers" or => { "legend" };
}
diff --git a/services/ubuntu.cf b/services/ubuntu.cf
index 13cd3df..9b26dfd 100644
--- a/services/ubuntu.cf
+++ b/services/ubuntu.cf
@@ -18,13 +18,7 @@ bundle agent ubuntu
ubuntu&!containers::
"wanted" slist => {
@(wanted),
- "apt-file",
- "asciidoc",
- "build-essential",
- "cgdb",
- "cmake",
"ethtool",
- "gpa",
"iptstate",
"ipvsadm",
"lvm2",
@@ -34,6 +28,16 @@ bundle agent ubuntu
"openntpd",
"openssh-server",
"needrestart",
+ };
+ ubuntu&console_julien::
+ "wanted" slist => {
+ @(wanted),
+ "apt-file",
+ "asciidoc",
+ "build-essential",
+ "cgdb",
+ "cmake",
+ "gpa",
"pass",
"pwgen",
"sipcalc",