projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define init q command
[mirror/dsa-puppet.git]
/
modules
/
munin-node
/
templates
/
munin-node.plugin.conf.erb
diff --git
a/modules/munin-node/templates/munin-node.plugin.conf.erb
b/modules/munin-node/templates/munin-node.plugin.conf.erb
index
1790558
..
b7f4767
100644
(file)
--- a/
modules/munin-node/templates/munin-node.plugin.conf.erb
+++ b/
modules/munin-node/templates/munin-node.plugin.conf.erb
@@
-27,7
+27,16
@@
group maillog"
end
out
%>
end
out
%>
-
+<%=
+out = ""
+if has_variable?("vsftpd") and vsftpd == "true"
+ out="
+[vsftpd]
+user root
+"
+end
+out
+%>
[fw_conntrack]
user root
[fw_conntrack]
user root
@@
-46,6
+55,9
@@
user nobody
[ip_*]
user root
[ip_*]
user root
+[ip6_*]
+user root
+
[mysql*]
user root
env.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf
[mysql*]
user root
env.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf
@@
-77,11
+89,11
@@
user root
group maillog
[bind*]
group maillog
[bind*]
+group bind
<%=
out = case hostname
<%=
out = case hostname
- when "geo1","geo2","geo3","raff" 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
%>
end
out
%>