Add configuration tests for dnsmasq, fail2ban, slapd

This commit is contained in:
Alexandre Aubin 2020-09-29 16:24:30 +02:00
parent 452b178d44
commit 6e69df3768

View file

@ -1,5 +1,6 @@
avahi-daemon: {}
dnsmasq: {}
dnsmasq:
test_conf: dnsmasq --test
dovecot:
log: [/var/log/mail.log,/var/log/mail.err]
needs_exposed_ports: [993]
@ -7,6 +8,7 @@ dovecot:
fail2ban:
log: /var/log/fail2ban.log
category: security
test_conf: fail2ban-server --test
metronome:
log: [/var/log/metronome/metronome.log,/var/log/metronome/metronome.err]
needs_exposed_ports: [5222, 5269]
@ -37,6 +39,7 @@ rspamd:
category: email
slapd:
category: database
test_conf: slapd -Tt
ssh:
log: /var/log/auth.log
test_conf: sshd -t