Recommit for updates in build 219

This commit is contained in:
Jenkins Server
2026-03-12 12:08:02 +01:00
parent 58d545bece
commit 0961f4976b
2 changed files with 33 additions and 2 deletions

View File

@@ -3962,6 +3962,19 @@ inherited by all classes except defines.
</li>
<li>
<span class='name'>ng_enable_fail2ban</span>
<span class='type'>(<tt>Boolean</tt>)</span>
<em class="default">(defaults to: <tt>false</tt>)</em>
</li>
</ul>
@@ -4299,7 +4312,16 @@ inherited by all classes except defines.
754
755
756
757</pre>
757
758
759
760
761
762
763
764
765
766</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 431</span>
@@ -4546,6 +4568,15 @@ class confdroid_nagios::params (
# single nagios checks
Boolean $ng_enable_swap_check = true,
# fail2ban
Boolean $ng_enable_fail2ban = false,
#String $ng_fail2ban_jail = &#39;httpd&#39;,
#String $ng_fail2ban_log = &#39;/var/log/secure&#39;,
#String $ng_fail2ban_regex = &#39;sshd.*Failed password for&#39;,
#String $ng_fail2ban_maxretry = &#39;5&#39;,
#String $ng_fail2ban_findtime = &#39;600&#39;,
#String $ng_fail2ban_bantime = &#39;3600&#39;,
) {
# Default facts
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]

View File

@@ -276,7 +276,7 @@ class confdroid_nagios::server::nagios (
) inherits confdroid_nagios::params {
if $ng_nagios_server == $fqdn {
@@nagios_host { &quot;localhost_${fqdn}&quot;:
@@nagios_host { $fqdn:
ensure =&gt; $ng_ping_ensure,
alias =&gt; &#39;localhost&#39;,
address =&gt; &#39;127.0.0.1&#39;,