diff --git a/manifests/params.pp b/manifests/params.pp index 4c56df4..3715491 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -169,6 +169,7 @@ $fn_action_badips = 'badips.py[category="%(__name__)s", banaction="%(b $fn_action_badips_report = 'badips[category="%(__name__)s", agent="%(fail2ban_agent)s"]', $fn_default_action = 'action_', + ) { # installation section diff --git a/templates/paths_common_conf.erb b/templates/paths_common_conf.erb index 9072136..c76badd 100644 --- a/templates/paths_common_conf.erb +++ b/templates/paths_common_conf.erb @@ -1,12 +1,15 @@ -# Common -# - +################################################################################ +########## paths-common.conf managed by Puppet ########## +########## manual changes will be overwritten !!! ########## +################################################################################ +########## full reference available under ########## +########## https://confdroid.com/2017/08/fail2ban-paths-common-conf/ ########## +################################################################################ [INCLUDES] after = paths-overrides.local [DEFAULT] - default_backend = auto sshd_log = %(syslog_authpriv)s @@ -27,14 +30,9 @@ syslog_backend = %(default_backend)s # from /etc/audit/auditd.conf auditd_log = /var/log/audit/audit.log - exim_main_log = /var/log/exim/mainlog - nginx_error_log = /var/log/nginx/*error.log - nginx_access_log = /var/log/nginx/*access.log - - lighttpd_error_log = /var/log/lighttpd/error.log # http://www.hardened-php.net/suhosin/configuration.html#suhosin.log.syslog.facility