]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
Remove database slave role from ramoth
[chef.git] / 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]
   template "apache.erb"
   directory build_directory
   variables :pools => node[:nominatim][:fpm_pools]
+  only_if { node[:nominatim][:state] != "off" }
 end
 
 apache_site "default" do
 end
 
 apache_site "default" do