Recommit for updates in build 9

This commit is contained in:
Jenkins Server
2026-02-13 16:33:47 +01:00
parent b28c35349c
commit bc9daabf6c
2 changed files with 26 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ class confdroid_nrpe::firewall::iptables (
) inherits confdroid_nrpe::params { ) inherits confdroid_nrpe::params {
if $ne_incl_fw == true { if $ne_incl_fw == true {
firewall { "${ne_fw_order_no}${ne_nrpe_port} port ${ne_nrpe_port}": firewall { "${ne_fw_order_no}${ne_nrpe_port} port ${ne_nrpe_port}":
source => $nagios_server, source => $ne_nagios_source,
proto => 'tcp', proto => 'tcp',
dport => $ne_nrpe_port, dport => $ne_nrpe_port,
jump => 'accept', jump => 'accept',

View File

@@ -741,6 +741,24 @@ inherited by all classes except defines.
— —
<div class='inline'> <div class='inline'>
<p>Whether to manage command rules for NRPE checks, to allow dynamic check &amp; command rules.</p> <p>Whether to manage command rules for NRPE checks, to allow dynamic check &amp; command rules.</p>
</div>
</li>
<li>
<span class='name'>ne_nagios_source</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;0.0.0.0/0&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>the source address for the firewall rule. Adjust to your environment if needed. Default is 0.0.0.0/0 to allow all sources, but it is recommended to specify the nagios server IP or subnet.</p>
</div> </div>
</li> </li>
@@ -763,9 +781,6 @@ inherited by all classes except defines.
<pre class="lines"> <pre class="lines">
78
79
80
81 81
82 82
83 83
@@ -849,10 +864,14 @@ inherited by all classes except defines.
161 161
162 162
163 163
164</pre> 164
165
166
167
168</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 78</span> <pre class="code"><span class="info file"># File 'manifests/params.pp', line 81</span>
class confdroid_nrpe::params ( class confdroid_nrpe::params (
@@ -899,6 +918,7 @@ class confdroid_nrpe::params (
# firewall # firewall
Boolean $ne_incl_fw = true, Boolean $ne_incl_fw = true,
String $ne_fw_order_no = &#39;50&#39;, String $ne_fw_order_no = &#39;50&#39;,
String $ne_nagios_source = &#39;0.0.0.0/0&#39;,
# selinux # selinux
Boolean $ne_include_selinux = true, Boolean $ne_include_selinux = true,