X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f78a95c3e5298aa6cc74306a0ed882fb810f259..56a942ea84cee51da25283665b1e008b775bb020:/cookbooks/nominatim/recipes/base.rb?ds=sidebyside diff --git a/cookbooks/nominatim/recipes/base.rb b/cookbooks/nominatim/recipes/base.rb index 76813c346..7a473b9cc 100644 --- a/cookbooks/nominatim/recipes/base.rb +++ b/cookbooks/nominatim/recipes/base.rb @@ -195,6 +195,9 @@ template "#{source_directory}/utils/nominatim-update" do user "nominatim" group "nominatim" mode 0o755 + variables :logfile => "#{node[:nominatim][:logdir]}/update.log", + :branch => node[:nominatim][:revision], + :update_stop_file => "#{home_directory}/status/updates_disabled" end template "/etc/init.d/nominatim-update" do @@ -207,6 +210,8 @@ end munin_plugin_conf "nominatim" do template "munin.erb" + variables :db => node[:nominatim][:database][:dbname], + :querylog => "#{node[:nominatim][:logdir]}/query.log" end munin_plugin "nominatim_importlag" do @@ -249,6 +254,7 @@ additional_scripts.each do |fname| owner "root" group "root" mode 0o755 + variables :db => node[:nominatim][:database][:dbname] end end