From d61f510cb4d8a4ae9f27268f8832c3c852983aca Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 18 Aug 2018 09:16:44 +0200 Subject: [PATCH] disable nominatim in apache when importing --- cookbooks/nominatim/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 43982b751..5d73390fc 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -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 -- 2.39.5