Recommit for updates in build 8
This commit is contained in:
@@ -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 => $ne_nagios_server,
|
source => $nagios_server,
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
dport => $ne_nrpe_port,
|
dport => $ne_nrpe_port,
|
||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
|
|||||||
@@ -223,24 +223,6 @@ inherited by all classes except defines.
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
|
||||||
|
|
||||||
<span class='name'>ne_nagios_server</span>
|
|
||||||
|
|
||||||
|
|
||||||
<span class='type'>(<tt>String</tt>)</span>
|
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'nagios.example.net'</tt>)</em>
|
|
||||||
|
|
||||||
|
|
||||||
—
|
|
||||||
<div class='inline'>
|
|
||||||
<p>ipaddress of the nagios server to be allowed to connect to NRPE service. Default is to look up a global parameter from ENC.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<span class='name'>ne_dont_blame_nrpe</span>
|
<span class='name'>ne_dont_blame_nrpe</span>
|
||||||
@@ -781,6 +763,9 @@ inherited by all classes except defines.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
|
78
|
||||||
|
79
|
||||||
|
80
|
||||||
81
|
81
|
||||||
82
|
82
|
||||||
83
|
83
|
||||||
@@ -864,13 +849,10 @@ inherited by all classes except defines.
|
|||||||
161
|
161
|
||||||
162
|
162
|
||||||
163
|
163
|
||||||
164
|
164</pre>
|
||||||
165
|
|
||||||
166
|
|
||||||
167</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 81</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 78</span>
|
||||||
|
|
||||||
class confdroid_nrpe::params (
|
class confdroid_nrpe::params (
|
||||||
|
|
||||||
@@ -894,7 +876,6 @@ class confdroid_nrpe::params (
|
|||||||
String $ne_nrpe_port = '5666',
|
String $ne_nrpe_port = '5666',
|
||||||
String $ne_server_address = '0.0.0.0',
|
String $ne_server_address = '0.0.0.0',
|
||||||
String $ne_listen_queue_size = '5',
|
String $ne_listen_queue_size = '5',
|
||||||
String $ne_nagios_server = 'nagios.example.net',
|
|
||||||
String $ne_dont_blame_nrpe = '1',
|
String $ne_dont_blame_nrpe = '1',
|
||||||
String $ne_allow_bash_cmd_subst = '1',
|
String $ne_allow_bash_cmd_subst = '1',
|
||||||
Boolean $ne_allow_sudo = true,
|
Boolean $ne_allow_sudo = true,
|
||||||
@@ -928,6 +909,7 @@ class confdroid_nrpe::params (
|
|||||||
$domain = $facts['networking']['domain']
|
$domain = $facts['networking']['domain']
|
||||||
$os_name = $facts['os']['name']
|
$os_name = $facts['os']['name']
|
||||||
$os_release = $facts['os']['release']['major']
|
$os_release = $facts['os']['release']['major']
|
||||||
|
$nagios_server = $facts['nagios_server']
|
||||||
|
|
||||||
# service
|
# service
|
||||||
$ne_service = 'nrpe'
|
$ne_service = 'nrpe'
|
||||||
|
|||||||
Reference in New Issue
Block a user