]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/clean-db-nominatim.erb
nominatim: fix slave list
[chef.git] / cookbooks / nominatim / templates / default / clean-db-nominatim.erb
index 202240e3f210b85ca5ebe514a8b9dbde230a59ca..92b731a986a6a2f2dafb9a56b8efd334521a7690 100644 (file)
@@ -16,7 +16,7 @@ done
 oldest=`date +%s`
 
 for fl in <% @streaming_clients %>; do
-  lastupdate=`wget -O - -q http://$fl/last_update.php`
+  lastupdate=`wget -O - -q http://${fl}.openstreetmap.org/last_update.php`
   if [[ "$?" != "0" ]]; then
     oldest=0
     break