recommit for updates in build 237
This commit is contained in:
@@ -108,7 +108,12 @@ cd_haproxy.
|
|||||||
10
|
10
|
||||||
11
|
11
|
||||||
12
|
12
|
||||||
13</pre>
|
13
|
||||||
|
14
|
||||||
|
15
|
||||||
|
16
|
||||||
|
17
|
||||||
|
18</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 7</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 7</span>
|
||||||
@@ -119,6 +124,11 @@ class cd_haproxy::main::config (
|
|||||||
|
|
||||||
include cd_haproxy::server::service
|
include cd_haproxy::server::service
|
||||||
|
|
||||||
|
if $hy_manage_fail2ban == true {
|
||||||
|
|
||||||
|
include cd_haproxy::monitoring::fail2ban
|
||||||
|
|
||||||
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -132,10 +132,10 @@ class cd_haproxy::monitoring::fail2ban (
|
|||||||
|
|
||||||
) inherits cd_haproxy::params {
|
) inherits cd_haproxy::params {
|
||||||
|
|
||||||
require cd_fail2ban
|
|
||||||
|
|
||||||
if $hy_manage_fail2ban == true {
|
if $hy_manage_fail2ban == true {
|
||||||
|
|
||||||
|
require cd_fail2ban
|
||||||
|
|
||||||
# configure filter
|
# configure filter
|
||||||
|
|
||||||
file { '/etc/fail2ban/filter.d/haproxy.conf':
|
file { '/etc/fail2ban/filter.d/haproxy.conf':
|
||||||
|
|||||||
Reference in New Issue
Block a user