]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim.rb
Disable directory indeses over http as well
[chef.git] / roles / nominatim.rb
index e26882dc66130330885eedb49a4c04d00afb3e91..a98fd9f25a349ab3975e279a3a0922ec98bb7f99 100644 (file)
@@ -48,9 +48,16 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
+    },
+    :swappiness => {
+      :comment => "Reduce swap usage",
+      :parameters => {
+        "vm.swappiness" => 10
+      }
     }
   },
   :nominatim => {
+    :enabled => true,
     :repository => "git://git.openstreetmap.org/nominatim.git"
   }
 )