configure)
# So munin can read the mail log
adduser munin adm
-
- # So munin can sudo to get to postfix queue info
- cat >>/etc/sudoers <<EOF
-### BEGIN xvm-munin-config
-munin ALL=(postfix) SETENV: NOPASSWD: /etc/munin/plugins/postfix_mailqueue
-munin ALL=(munin) SETENV: NOPASSWD: ALL
-### END xvm-munin-config
-EOF
-
+
# So munin can read from the database
su postgres -c 'createuser -S -D -R munin' || true
su postgres -c 'psql invirt --quiet' <<EOF