lint params

This commit is contained in:
Arne Teuke
2025-03-02 16:28:57 +01:00
parent 7341c24bc9
commit f09b452830
17 changed files with 165 additions and 275 deletions

View File

@@ -1,10 +1,10 @@
# Module name: cd_haproxy
# Module name: haproxy_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages fail2ban settings
##############################################################################
class cd_haproxy::monitoring::fail2ban (
class haproxy_cd::monitoring::fail2ban (
) inherits cd_haproxy::params {
) inherits haproxy_cd::params {
if $hy_manage_fail2ban == true {
@@ -21,7 +21,7 @@ class cd_haproxy::monitoring::fail2ban (
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('cd_haproxy/fail2ban/f2b_haproxy.conf.erb'),
content => template('haproxy_cd/fail2ban/f2b_haproxy.conf.erb'),
notify => Service['fail2ban'],
}
@@ -34,7 +34,7 @@ class cd_haproxy::monitoring::fail2ban (
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('cd_haproxy/fail2ban/010_jail.d_haproxy.conf.erb'),
content => template('haproxy_cd/fail2ban/010_jail.d_haproxy.conf.erb'),
notify => Service['fail2ban'],
}
}