OP#421 try global parameter
This commit is contained in:
@@ -16,9 +16,6 @@
|
||||
# and configuration file.
|
||||
# @param [String] ne_listen_queue_size Listen queue size (backlog) for
|
||||
# serving incoming connections.
|
||||
# @param [String] ne_nagios_server ipaddress of the nagios server to be allowed
|
||||
# to connect to NRPE service. Default is to look up a global parameter from
|
||||
# ENC.
|
||||
# @param [String] ne_dont_blame_nrpe whether or not the NRPE daemon will
|
||||
# allow clients to specify arguments to commands that are executed.
|
||||
# @param [String] ne_allow_bash_cmd_subst whether or not the NRPE daemon will
|
||||
@@ -100,7 +97,6 @@ class confdroid_nrpe::params (
|
||||
String $ne_nrpe_port = '5666',
|
||||
String $ne_server_address = '0.0.0.0',
|
||||
String $ne_listen_queue_size = '5',
|
||||
String $ne_nagios_server = 'nagios.example.net',
|
||||
String $ne_dont_blame_nrpe = '1',
|
||||
String $ne_allow_bash_cmd_subst = '1',
|
||||
Boolean $ne_allow_sudo = true,
|
||||
@@ -134,6 +130,7 @@ class confdroid_nrpe::params (
|
||||
$domain = $facts['networking']['domain']
|
||||
$os_name = $facts['os']['name']
|
||||
$os_release = $facts['os']['release']['major']
|
||||
$nagios_server = $facts['nagios_server']
|
||||
|
||||
# service
|
||||
$ne_service = 'nrpe'
|
||||
|
||||
Reference in New Issue
Block a user