From: Peter Palfrader Date: Tue, 30 Oct 2018 09:32:31 +0000 (+0100) Subject: prevent the trailing ; after the subchain X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=10df4a161694d92106eddd599d2f895e73622f1d;p=mirror%2Fdsa-puppet.git prevent the trailing ; after the subchain --- diff --git a/modules/fail2ban/manifests/init.pp b/modules/fail2ban/manifests/init.pp index 8d640348a..74a650b41 100644 --- a/modules/fail2ban/manifests/init.pp +++ b/modules/fail2ban/manifests/init.pp @@ -24,7 +24,8 @@ class fail2ban { description => 'f2b master rule', chain => 'INPUT', domain => '(ip ip6)', - rule => 'saddr 0/0 @subchain "dsa-f2b" {}' + rule => 'saddr 0/0 @subchain "dsa-f2b" {}', + notarule => true, } # XXX Maybe this will be automatically done in buster, it is certainly needed in stretch. So maybe: versioncmp($::lsbmajdistrelease, '9') <= 0