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'],
}
}
}