recommit for updates in build 236

This commit is contained in:
Jenkins ConfDroid
2025-02-14 11:37:36 +01:00
parent 50abfe98d7
commit a60b3b4ec6
11 changed files with 321 additions and 237 deletions

View File

@@ -103,6 +103,11 @@
</li>
<li>
<span class='object_link'><a href="puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html" title="puppet_classes::cd_haproxy::monitoring::fail2ban (puppet_class)">cd_haproxy::monitoring::fail2ban</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/cd_haproxy_3A_3Aparams.html" title="puppet_classes::cd_haproxy::params (puppet_class)">cd_haproxy::params</a></span>

View File

@@ -89,14 +89,21 @@
</li>
<li id="object_puppet_classes::cd_haproxy::params" class="even">
<li id="object_puppet_classes::cd_haproxy::monitoring::fail2ban" class="even">
<div class="item">
<span class='object_link'><a href="puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html" title="puppet_classes::cd_haproxy::monitoring::fail2ban (puppet_class)">cd_haproxy::monitoring::fail2ban</a></span>
</div>
</li>
<li id="object_puppet_classes::cd_haproxy::params" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_classes/cd_haproxy_3A_3Aparams.html" title="puppet_classes::cd_haproxy::params (puppet_class)">cd_haproxy::params</a></span>
</div>
</li>
<li id="object_puppet_classes::cd_haproxy::server::service" class="odd">
<li id="object_puppet_classes::cd_haproxy::server::service" class="even">
<div class="item">
<span class='object_link'><a href="puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::cd_haproxy::server::service (puppet_class)">cd_haproxy::server::service</a></span>
</div>

View File

@@ -84,23 +84,7 @@
<div class="discussion">
<p>cd_haproxy::firewall::iptables.pp Module name: cd_haproxy Author: Arne
Teuke (arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
Teuke (arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -117,30 +101,30 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43</pre>
26</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/firewall/iptables.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/firewall/iptables.pp', line 6</span>
class cd_haproxy::firewall::iptables (

View File

@@ -85,23 +85,7 @@ cd_haproxy.
<div class="discussion">
<p>cd_haproxy::main::config.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
(arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -118,16 +102,16 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
24
25
26
27
28
29
30</pre>
7
8
9
10
11
12
13</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 24</span>
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 7</span>
class cd_haproxy::main::config (

View File

@@ -84,23 +84,7 @@
<div class="discussion">
<p>cd_haproxy::main::dirs.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
(arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -117,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@@ -131,27 +132,10 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54</pre>
37</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
class cd_haproxy::main::dirs (

View File

@@ -84,23 +84,7 @@
<div class="discussion">
<p>cd_haproxy::main::files.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
(arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -117,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@@ -240,27 +241,10 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163</pre>
146</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
class cd_haproxy::main::files (

View File

@@ -85,23 +85,7 @@ cd_haproxy
<div class="discussion">
<p>cd_haproxy::main::install.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
(arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -118,19 +102,19 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
24
25
26
27
28
29
30
31
32
33</pre>
7
8
9
10
11
12
13
14
15
16</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 24</span>
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span>
class cd_haproxy::main::install (

View File

@@ -86,26 +86,6 @@
<p>cd_haproxy::main::user.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@ConfDroid.com)</p>
<h1 id="label-License-3A">License:</h1>
<p>This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HAproxy
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
</div>
</div>
@@ -121,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@@ -129,27 +126,10 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48</pre>
31</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/user.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/main/user.pp', line 6</span>
class cd_haproxy::main::user (

View File

@@ -0,0 +1,167 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Puppet Class: cd_haproxy::monitoring::fail2ban
&mdash; Documentation by YARD 0.9.26
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "puppet_classes::cd_haproxy::monitoring::fail2ban";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (c)</a> &raquo;
<span class='title'><span class='object_link'>Puppet Classes</span></span>
&raquo;
<span class="title">cd_haproxy::monitoring::fail2ban</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Puppet Class: cd_haproxy::monitoring::fail2ban</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd><span class='object_link'><a href="cd_haproxy_3A_3Aparams.html" title="puppet_classes::cd_haproxy::params (puppet_class)">cd_haproxy::params</a></span></dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>
manifests/monitoring/fail2ban.pp
</dd>
</dl>
</div>
<h2>Summary</h2>
Class manages fail2ban settings
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>Module name: cd_haproxy Author: Arne Teuke (arne_teuke@confdroid.com)</p>
</div>
</div>
<div class="tags">
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/monitoring/fail2ban.pp', line 5</span>
class cd_haproxy::monitoring::fail2ban (
) inherits cd_haproxy::params {
require cd_fail2ban
if $hy_manage_fail2ban == true {
# configure filter
file { &#39;/etc/fail2ban/filter.d/haproxy.conf&#39;:
ensure =&gt; file,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0644&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
content =&gt; template(&#39;cd_haproxy/fail2ban/f2b_haproxy.conf.erb&#39;),
notify =&gt; Service[$fn_service],
}
}
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>

View File

@@ -81,6 +81,8 @@
<span class='object_link'><a href="cd_haproxy_3A_3Afirewall_3A_3Aiptables.html" title="puppet_classes::cd_haproxy::firewall::iptables (puppet_class)">cd_haproxy::firewall::iptables</a></span><br/>
<span class='object_link'><a href="cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html" title="puppet_classes::cd_haproxy::monitoring::fail2ban (puppet_class)">cd_haproxy::monitoring::fail2ban</a></span><br/>
</dd>
</dl>
@@ -707,6 +709,19 @@ succeed.</p>
<p>set the timeout value for how long to check if the timeout has occured</p>
</div>
</li>
<li>
<span class='name'>hy_manage_fail2ban</span>
<span class='type'>(<tt>Any</tt>)</span>
<em class="default">(defaults to: <tt>false</tt>)</em>
</li>
<li>
@@ -868,7 +883,10 @@ succeed.</p>
138
139
140
141</pre>
141
142
143
144</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 58</span>
@@ -884,6 +902,9 @@ $hy_host_fqdn = undef,
$hy_manage_fw = true,
$hy_fw_order_no = &#39;50&#39;,
# fail2ban
$hy_manage_fail2ban = false,
# main config
$hy_http_port = &#39;80&#39;,
$hy_https_port = &#39;443&#39;,

View File

@@ -84,23 +84,7 @@
<div class="discussion">
<p>cd_haproxy::server::service.pp Module name: cd_haproxy Author: Arne Teuke
(arne_teuke@confdroid.com) License: This file is part of cd_haproxy.</p>
<p>cd_haproxy is used for providing automatic configuration of HA proxy.
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.</p>
<p>This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.</p>
<p>You should have received a copy of the GNU General Public License along
with this program. If not, see <a
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
(arne_teuke@confdroid.com)</p>
</div>
</div>
@@ -117,25 +101,25 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38</pre>
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 6</span>
class cd_haproxy::server::service (