X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4376b6f1641610e9895b984038d4a2180b54140e..f3d8422f1c3d8c1e8cf3cc04d9982b8cfb8878c4:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 14500499f..09ff3ff95 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -215,6 +215,10 @@ execute "compile_nominatim" do command "cmake #{source_directory} && make" end +link "/usr/local/bin/nominatim" do + to "#{build_directory}/nominatim" +end + template "#{source_directory}/.git/hooks/post-merge" do source "git-post-merge-hook.erb" owner "nominatim" @@ -459,6 +463,8 @@ munin_plugin "nominatim_requests" do target "#{source_directory}/munin/nominatim_requests_querylog" end +package "ruby-webrick" + prometheus_exporter "nominatim" do port 8082 user "www-data"