diff --git a/manifests/params.pp b/manifests/params.pp index 2962ee9..0fce0d9 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -120,6 +120,7 @@ # @param [string] fn_default_action Choose default action. # @param [string] fn_extra_repo_url Specify the URL for the extra repo for # additiional required packages, which are not in the regular repos. +# @param [string] fn_jail_paths the fail path. defaults to fedora. ############################################################################### class cd_fail2ban::params ( @@ -177,14 +178,10 @@ $fn_action_blocklist_de = 'blocklist_de[email="%(sender)s", service=%(filter $fn_action_badips = 'badips.py[category="%(__name__)s", banaction="%(banaction)s", agent="%(fail2ban_agent)s"]', $fn_action_badips_report = 'badips[category="%(__name__)s", agent="%(fail2ban_agent)s"]', $fn_default_action = 'action_', - +$fn_jail_paths = 'fedora' ) { -$fn_jail_paths = $::operatingsystem ? { - /(?i-mx:centos|fedora|rocky|redhat)/ => 'fedora', - } - # shortcuts $fn_os = $::operatingsystem