recommit for updates in build 238
This commit is contained in:
@@ -123,7 +123,20 @@
|
|||||||
25
|
25
|
||||||
26
|
26
|
||||||
27
|
27
|
||||||
28</pre>
|
28
|
||||||
|
29
|
||||||
|
30
|
||||||
|
31
|
||||||
|
32
|
||||||
|
33
|
||||||
|
34
|
||||||
|
35
|
||||||
|
36
|
||||||
|
37
|
||||||
|
38
|
||||||
|
39
|
||||||
|
40
|
||||||
|
41</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/monitoring/fail2ban.pp', line 5</span>
|
<pre class="code"><span class="info file"># File 'manifests/monitoring/fail2ban.pp', line 5</span>
|
||||||
@@ -148,7 +161,20 @@ class cd_haproxy::monitoring::fail2ban (
|
|||||||
seltype => etc_t,
|
seltype => etc_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
content => template('cd_haproxy/fail2ban/f2b_haproxy.conf.erb'),
|
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'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user