]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tools/recipes/default.rb
Remove no longer needed support for old Ubuntu versions
[chef.git] / cookbooks / tools / recipes / default.rb
index 432f0fd69ae915375b3b9f39cd1a28af63b7cfd4..5c872d9096265d6ccde1aaf555678154ffadd773 100644 (file)
@@ -32,11 +32,21 @@ package "usbutils"
 package "numactl"
 package "xfsprogs"
 package "sysv-rc-conf"
+package "iotop"
+package "lvm2"
+package "rsyslog"
 
-if node[:lsb][:release].to_f >= 10.04
-  package "iotop"
+service "rsyslog" do
+  action [:enable, :start]
+  supports :status => true, :restart => true, :reload => true
 end
 
-if node[:lsb][:release].to_f <= 11.04
-  package "lslk"
+# Remove unused base package
+package "mlocate" do
+  action :purge
+end
+
+# Remove ubuntu "desktop" vestigal package
+package "whoopsie" do
+  action :purge
 end