apache_module "proxy"
apache_module "proxy_fcgi"
apache_module "proxy_http"
+apache_module "headers"
home_directory = data_bag_item("accounts", "nominatim")["home"]
source_directory = "#{home_directory}/nominatim"
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
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
owner "root"
group "root"
mode 0o755
+ variables :db => node[:nominatim][:database][:dbname]
end
end