]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tools/recipes/default.rb
Don't try and restart passenger on machines that don't have it
[chef.git] / cookbooks / tools / recipes / default.rb
index b0dc2bb9c8fff5114a81f92948bec61c672a1d53..a8afec012bc27d754e8d90826f59127b4f790bec 100644 (file)
@@ -32,12 +32,15 @@ package %w[
   usbutils
   numactl
   xfsprogs
-  sysv-rc-conf
   iotop
   lvm2
   rsyslog
 ]
 
+if node[:lsb][:release].to_f < 18.04
+  package "sysv-rc-conf"
+end
+
 service "rsyslog" do
   action [:enable, :start]
   supports :status => true, :restart => true, :reload => true