OP#436 add main file control link to wiki

This commit is contained in:
2026-02-21 14:04:06 +01:00
parent 47905966a7
commit b92f797169
5 changed files with 19 additions and 25 deletions

View File

@@ -158,7 +158,7 @@ class confdroid_nagios::main::dirs (
path => $ng_run_dir,
owner => 'nagios',
group => 'nagios',
mode => '0750',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => nagios_var_run_t,
@@ -171,7 +171,7 @@ class confdroid_nagios::main::dirs (
path => $ng_cmd_dir,
owner => 'nagios',
group => 'nagios',
mode => '0775',
mode => '2775',
selrange => s0,
selrole => object_r,
seltype => nagios_spool_t,
@@ -184,7 +184,7 @@ class confdroid_nagios::main::dirs (
path => $ng_checkresults_dir,
owner => 'nagios',
group => 'nagios',
mode => '0770',
mode => '0750',
selrange => s0,
selrole => object_r,
seltype => nagios_spool_t,

View File

@@ -25,6 +25,8 @@
# htpasswd utility.
# @param [String] ng_context_help Whether to enable the context help in the
# Nagios web interface. Default is '1'.
# @param [String] ng_log_file The path to the Nagios log file. Default is
# '/var/log/nagios/nagios.log'.
###############################################################################
class confdroid_nagios::params (
@@ -37,7 +39,10 @@ class confdroid_nagios::params (
String $ng_main_user = 'nagios',
String $ng_main_password = 'nagios',
# cgi
# nagios.cfg
String $ng_log_file = '/var/log/nagios/nagios.log',
# cgi.cfg
String $ng_context_help = '1',
# httpd