]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tools/recipes/default.rb
Remove unneeded mlocate package from all machines
[chef.git] / cookbooks / tools / recipes / default.rb
index 432f0fd69ae915375b3b9f39cd1a28af63b7cfd4..801edee7bb09b4a54a59068b30111e5db0bca54e 100644 (file)
@@ -32,11 +32,21 @@ package "usbutils"
 package "numactl"
 package "xfsprogs"
 package "sysv-rc-conf"
-
-if node[:lsb][:release].to_f >= 10.04
-  package "iotop"
-end
+package "iotop"
 
 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
+