view common/fail2ban/apf.conf @ 136:765e72629b3e puppet-3.6

Fix "direct under CA" custom conditions and sites that use "cert named after domain" pattern The 'undef' value coerces to empty string, so "$var == undef" becomes "$var == ''", which broke our logic. Puppet 3 doesn't have a prettier solution
author IBBoard <dev@ibboard.co.uk>
date Fri, 11 Nov 2016 21:04:13 +0000
parents 956e484adc12
children
line wrap: on
line source

[Definition]
actionstart = 
actionstop = 
actioncheck = 
actionban = /etc/apf/apf --deny <ip> Fail2Ban-<name>
actionunban = /etc/apf/apf --remove <ip>