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