From b0e643ba2a1d0051c462ecac419665f502c2cb7a Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Fri, 14 Feb 2025 12:02:08 +0100 Subject: [PATCH] recommit for updates in build 238 --- ...haproxy_3A_3Amonitoring_3A_3Afail2ban.html | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html index f8bfd67..c4bf6a1 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html @@ -123,7 +123,20 @@ 25 26 27 -28 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41
# File 'manifests/monitoring/fail2ban.pp', line 5
@@ -148,7 +161,20 @@ class cd_haproxy::monitoring::fail2ban (
       seltype   =>  etc_t,
       seluser   =>  system_u,
       content   =>  template('cd_haproxy/fail2ban/f2b_haproxy.conf.erb'),
-      notify    =>  Service[$fn_service],
+      notify    =>  Service['fail2ban'],
+    }
+
+    file { '/etc/fail2ban/jail.d/010-haproxy.conf':
+      ensure    =>  file,
+      owner     =>  'root',
+      group     =>  'root',
+      mode      =>  '0644',
+      selrange  =>  s0,
+      selrole   =>  object_r,
+      seltype   =>  etc_t,
+      seluser   =>  system_u,
+      content   =>  template('cd_haproxy/fail2ban/010_jaild_haproxy.conf.erb'),
+      notify    =>  Service['fail2ban'],
     }
   }
 }