OP#436 add file controls
This commit is contained in:
@@ -105,6 +105,18 @@
|
||||
# group. Default is 'nagiosadmin'.
|
||||
# @param [Boolean] ng_purge_target Whether to purge unmanaged host and services
|
||||
# configuration files. Default is true.
|
||||
# @param [String] ng_event_broker_options The event broker options for Nagios.
|
||||
# Default is '-1'.
|
||||
# @param [Boolean] ng_enable_query_handler Whether to enable the Nagios query
|
||||
# handler. Default is false.
|
||||
# @param [Array] ng_event_broker_module The event broker modules for Nagios.
|
||||
# Default is [].
|
||||
# @param [String] ng_log_rotation_method The log rotation method for Nagios.
|
||||
# Default is 'd'.
|
||||
# @param [String] ng_use_syslog Whether to use syslog for logging in Nagios.
|
||||
# Default is '1'.
|
||||
# @param [String] ng_log_notifications Whether to log notifications in Nagios.
|
||||
# Default is '1'.
|
||||
################################################################################
|
||||
class confdroid_nagios::params (
|
||||
|
||||
@@ -140,6 +152,12 @@ class confdroid_nagios::params (
|
||||
|
||||
# nagios.cfg
|
||||
String $ng_log_file = '/var/log/nagios/nagios.log',
|
||||
String $ng_event_broker_options = '-1',
|
||||
Boolean $ng_enable_query_handler = false,
|
||||
Array $ng_event_broker_module = [],
|
||||
String $ng_log_rotation_method = 'd',
|
||||
String $ng_use_syslog = '1',
|
||||
String $ng_log_notifications = '1',
|
||||
|
||||
# cgi.cfg
|
||||
String $ng_context_help = '1',
|
||||
@@ -257,6 +275,7 @@ class confdroid_nagios::params (
|
||||
$ng_status_file = "${ng_spool_dir}/status.dat"
|
||||
$ng_command_file = "${ng_cmd_dir}/nagios.cmd"
|
||||
$ng_lock_file = "${ng_run_dir}/nagios.pid"
|
||||
$ng_temp_file = "${ng_spool_dir}/nagios.tmp"
|
||||
|
||||
## old
|
||||
$ng_taccgi_erb = 'confdroid_nagios/selinux/taccgi.erb'
|
||||
|
||||
Reference in New Issue
Block a user