OP#436 add variable
This commit is contained in:
@@ -95,6 +95,8 @@
|
||||
# Default is 'present'.
|
||||
# @param [String] ng_max_check_attempts The maximum number of check attempts
|
||||
# before a host or service is considered down. Default is '10'.
|
||||
# @param [Boolean] ng_enable_swap_check Whether to enable the check_swap
|
||||
# command. Default is true.
|
||||
###############################################################################
|
||||
class confdroid_nagios::params (
|
||||
|
||||
@@ -164,6 +166,9 @@ class confdroid_nagios::params (
|
||||
String $ng_load_crit = '10.00,6.00,4.00',
|
||||
String $ng_load_ensure = 'present',
|
||||
|
||||
# single nagios checks
|
||||
Boolean $ng_enable_swap_check = true,
|
||||
|
||||
) {
|
||||
# Default facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user