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