]> git.openstreetmap.org Git - chef.git/commitdiff
nominiatim: reinclude commented out code
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 30 Jun 2022 09:18:17 +0000 (11:18 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 30 Jun 2022 09:18:17 +0000 (11:18 +0200)
cookbooks/nominatim/recipes/version4.rb

index e68be086e25ab3c0f376cb53e5140fc38bb01266..19e3d1aa98ec8718d2f6cc7de378d2931629292b 100644 (file)
@@ -221,15 +221,15 @@ template "#{project_directory}/.env" do
             :tokenizer => node[:nominatim][:config][:tokenizer]
 end
 
-#%w[wikimedia-importance.sql.gz gb_postcodes.csv.gz us_postcodes.csv.gz].each do |fname|
-#  remote_file "#{project_directory}/#{fname}" do
-#    action :create
-#    source "https://www.nominatim.org/data/#{fname}"
-#    owner "nominatim"
-#    group "nominatim"
-#    mode "644"
-#  end
-#end
+%w[wikimedia-importance.sql.gz gb_postcodes.csv.gz us_postcodes.csv.gz].each do |fname|
+  remote_file "#{project_directory}/#{fname}" do
+    action :create
+    source "https://www.nominatim.org/data/#{fname}"
+    owner "nominatim"
+    group "nominatim"
+    mode "644"
+  end
+end
 
 # Webserver + frontend