user root
<%=
out = ""
-if has_variable?("mta") and mta == "exim4"
+if has_variable?("mta") and @mta == "exim4"
out="
[exim_mail*]
user Debian-exim
<%=
out = ""
-if has_variable?("mta") and mta == "postfix"
+if has_variable?("mta") and @mta == "postfix"
out="
[postfix_mailqueue]
user postfix
[bind*]
group bind
<%=
-out = case hostname
+out = case @hostname
when "geo1","geo2","geo3" then "env.logfile /var/log/bind9/geoip-query.log"
else "env.logfile /var/log/bind9/named-query.log"
end
[diskstats]
env.exclude sbuild,schroot
+# filter out all the short-lived filesystems for df*:
+[df*]
+env.exclude_re ^/dev$ ^/run/.*$ ^/srv/piuparts-workspace/tmp.*$ ^/sys/.*$ ^/var/lib/schroot/mount/.*$
+
<% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%>
# Workaround for https://bugs.debian.org/767102
[df*]