fail2ban: actually ship the dsa-exim-strict set up
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Fri, 27 Sep 2019 18:31:08 +0000 (19:31 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Fri, 27 Sep 2019 18:31:08 +0000 (19:31 +0100)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/fail2ban/manifests/exim.pp

index f1b34dd..96c9561 100644 (file)
@@ -7,4 +7,12 @@ class fail2ban::exim inherits fail2ban {
                source => 'puppet:///modules/fail2ban/jail/dsa-exim.conf',
                notify  => Service['fail2ban'],
        }
+       file { '/etc/fail2ban/filter.d/dsa-exim-strict.conf':
+               source => 'puppet:///modules/fail2ban/filter/dsa-exim-strict.conf',
+               notify  => Service['fail2ban'],
+       }
+       file { '/etc/fail2ban/jail.d/dsa-exim-strict.conf':
+               source => 'puppet:///modules/fail2ban/jail/dsa-exim-strict.conf',
+               notify  => Service['fail2ban'],
+       }
 }