]> git.openstreetmap.org Git - chef.git/commitdiff
disable nominatim in apache when importing
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 18 Aug 2018 07:16:44 +0000 (09:16 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 18 Aug 2018 07:16:44 +0000 (09:16 +0200)
cookbooks/nominatim/recipes/default.rb

index 43982b7510ad33b166acf2c10a8df9c3e73c8a9f..5d73390fcc92eb8f27e3a4e692211440740bf618 100644 (file)
@@ -356,6 +356,7 @@ apache_site "nominatim.openstreetmap.org" do
   template "apache.erb"
   directory build_directory
   variables :pools => node[:nominatim][:fpm_pools]
+  only_if { node[:nominatim][:state] != "off" }
 end
 
 apache_site "default" do