From b5b2994a949dc3f1daec3ef20a449f8f4e3f8b8d Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 4 May 2024 10:48:47 +0200 Subject: [PATCH] nominatim: install secondary importance file --- cookbooks/nominatim/recipes/default.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 2cf17d821..ab1c5aaa2 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -314,6 +314,14 @@ template "#{project_directory}/.env" do :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" -- 2.39.5