X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c61bfd4788208f32a536d04c9e6b7c406d222f9f..a194131b6ac8c700e2bdc10c2014b3b49bd876ac:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 65da50c54..df1297845 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -243,11 +243,11 @@ munin_plugin "nominatim_importlag" do end munin_plugin "nominatim_query_speed" do - target "#{source_directory}/munin/nominatim_query_speed" + target "#{source_directory}/munin/nominatim_query_speed_querylog" end munin_plugin "nominatim_requests" do - target "#{source_directory}/munin/nominatim_requests" + target "#{source_directory}/munin/nominatim_requests_querylog" end munin_plugin "nominatim_throttled_ips" do @@ -261,3 +261,10 @@ template "/usr/local/bin/backup-nominatim" do mode 0755 end +directory File.dirname(node[:nominatim][:flatnode_file]) do + owner "nominatim" + group "nominatim" + mode 0755 + recursive true +end +