Recommit for updates in build 6

This commit is contained in:
Jenkins Server
2026-03-11 14:28:12 +01:00
parent 0b05afce7d
commit a2d630230b
6 changed files with 247 additions and 9 deletions

View File

@@ -77,6 +77,8 @@
<span class='object_link'><a href="confdroid_fail2ban_3A_3Amain_3A_3Aservice.html" title="puppet_classes::confdroid_fail2ban::main::service (puppet_class)">confdroid_fail2ban::main::service</a></span><br/>
<span class='object_link'><a href="confdroid_fail2ban_3A_3Amonitoring_3A_3Atarget.html" title="puppet_classes::confdroid_fail2ban::monitoring::target (puppet_class)">confdroid_fail2ban::monitoring::target</a></span><br/>
</dd>
</dl>
@@ -813,6 +815,60 @@
&mdash;
<div class='inline'>
<p>the fail path. defaults to fedora.</p>
</div>
</li>
<li>
<span class='name'>fn_incl_target</span>
<span class='type'>(<tt>Boolean</tt>)</span>
<em class="default">(defaults to: <tt>false</tt>)</em>
&mdash;
<div class='inline'>
<p>Whether to include monitoring targets for nagios. If set to true, monitoring targets will be included for the service.</p>
</div>
</li>
<li>
<span class='name'>fn_target_service</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;/etc/nagios/conf.d/fail2ban_service.cfg&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The path to the nagios service configuration file to be created if fn_incl_target is set to true.</p>
</div>
</li>
<li>
<span class='name'>fn_target_contacts</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;nagiosadmin&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The nagios contacts to be notified for the service if fn_incl_target is set to true.</p>
</div>
</li>
@@ -828,12 +884,6 @@
<pre class="lines">
104
105
106
107
108
109
110
111
112
@@ -915,10 +965,21 @@
188
189
190
191</pre>
191
192
193
194
195
196
197
198
199
200
201
202</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 104</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 110</span>
class confdroid_fail2ban::params (
@@ -974,6 +1035,11 @@ class confdroid_fail2ban::params (
String $fn_default_action = &#39;action_&#39;,
String $fn_jail_paths = &#39;fedora&#39;,
# nagios
Boolean $fn_incl_target = false,
String $fn_target_service = &#39;/etc/nagios/conf.d/fail2ban_service.cfg&#39;,
String $fn_target_contacts = &#39;nagiosadmin&#39;,
) {
# shortcuts
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]