recommit for updates in build 237
This commit is contained in:
@@ -108,7 +108,12 @@ cd_haproxy.
|
||||
10
|
||||
11
|
||||
12
|
||||
13</pre>
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18</pre>
|
||||
</td>
|
||||
<td>
|
||||
<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
|
||||
|
||||
if $hy_manage_fail2ban == true {
|
||||
|
||||
include cd_haproxy::monitoring::fail2ban
|
||||
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -132,10 +132,10 @@ class cd_haproxy::monitoring::fail2ban (
|
||||
|
||||
) inherits cd_haproxy::params {
|
||||
|
||||
require cd_fail2ban
|
||||
|
||||
if $hy_manage_fail2ban == true {
|
||||
|
||||
require cd_fail2ban
|
||||
|
||||
# configure filter
|
||||
|
||||
file { '/etc/fail2ban/filter.d/haproxy.conf':
|
||||
|
||||
Reference in New Issue
Block a user