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