From: Stephen Gran Date: Mon, 25 Jan 2010 00:29:03 +0000 (+0000) Subject: make new bind log locations get checked for queries X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=dd8b8c3fc5dff5da6bf0f42c2440c0375889d30e;p=mirror%2Fdsa-puppet.git make new bind log locations get checked for queries Signed-off-by: Stephen Gran --- diff --git a/modules/munin-node/templates/munin-node.plugin.conf.erb b/modules/munin-node/templates/munin-node.plugin.conf.erb index b5012f7de..fd3acbe78 100644 --- a/modules/munin-node/templates/munin-node.plugin.conf.erb +++ b/modules/munin-node/templates/munin-node.plugin.conf.erb @@ -86,11 +86,11 @@ user root group maillog [bind*] +group bind <%= out = case hostname - when "geo1","geo2","geo3" then "group bind -env.logfile /var/log/bind9/geoip-query.log" - else "group adm" + when "geo1","geo2","geo3" then "env.logfile /var/log/bind9/geoip-query.log" + else "env.logfile /var/log/bind9/named-query.log" end out %>