move parameter

This commit is contained in:
Arne Teuke
2023-07-23 15:25:05 +02:00
parent 64494513bd
commit c5100a2ca3

View File

@@ -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