]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: do not compile immediately after checkout
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 12 Feb 2021 21:11:44 +0000 (22:11 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 12 Feb 2021 21:11:44 +0000 (22:11 +0100)
The country grid needs to be downloaded first.

cookbooks/nominatim/recipes/default.rb

index fbbe30af40c515e8ddc35c3fc2633b835fba2bc3..7d41da54f589479267e3e1acd6eeeacd9032f718 100644 (file)
@@ -198,7 +198,7 @@ git source_directory do
   user "nominatim"
   group "nominatim"
   not_if { node[:nominatim][:state] != "slave" && File.exist?("#{source_directory}/README.md") }
-  notifies :run, "execute[compile_nominatim]", :immediately
+  notifies :run, "execute[compile_nominatim]"
 end
 
 remote_file "#{source_directory}/data/country_osm_grid.sql.gz" do