]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: install secondary importance file
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 4 May 2024 08:48:47 +0000 (10:48 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 4 May 2024 08:48:47 +0000 (10:48 +0200)
cookbooks/nominatim/recipes/default.rb

index 2cf17d821e907763be3f380b4374222b0e96fcf8..ab1c5aaa2690382b4c545043569d9c9f205472f8 100644 (file)
@@ -314,6 +314,14 @@ template "#{project_directory}/.env" do
             :request_timeout => node[:nominatim][:api_request_timeout]
 end
 
             :request_timeout => node[:nominatim][:api_request_timeout]
 end
 
+remote_file "#{project_directory}/secondary_importance.sql.gz" do
+  action :create_if_missing
+  source "https://nominatim.org/data/wikimedia-secondary-importance.sql.gz"
+  owner "nominatim"
+  group "nominatim"
+  mode "644"
+end
+
 remote_file "#{project_directory}/wikimedia-importance.sql.gz" do
   action :create_if_missing
   source "https://nominatim.org/data/wikimedia-importance.sql.gz"
 remote_file "#{project_directory}/wikimedia-importance.sql.gz" do
   action :create_if_missing
   source "https://nominatim.org/data/wikimedia-importance.sql.gz"