OP#436 add main dir

This commit is contained in:
2026-02-19 16:22:34 +01:00
parent 2c4ac00535
commit aa8146913c

View File

@@ -8,18 +8,19 @@ class confdroid_nagios::main::dirs (
) inherits confdroid_nagios::params { ) inherits confdroid_nagios::params {
require confdroid_nagios::main::install require confdroid_nagios::main::install
# main directory if $ng_nagios_server == $fqdn {
# file { $ng_main_dir: # main directory
# ensure => directory, file { $ng_main_dir:
# path => $ng_main_dir, ensure => directory,
# owner => 'root', path => $ng_main_dir,
# group => 'root', owner => 'root',
# mode => '0755', group => 'root',
# selrange => s0, mode => '0755',
# selrole => object_r, selrange => s0,
# seltype => nagios_etc_t, selrole => object_r,
# seluser => system_u, seltype => nagios_etc_t,
# } seluser => system_u,
}
# /usr/lib64/nagios dir required for plugins # /usr/lib64/nagios dir required for plugins
# file { $ng_lib_dir: # file { $ng_lib_dir:
@@ -191,4 +192,5 @@ class confdroid_nagios::main::dirs (
# seluser => system_u, # seluser => system_u,
# } # }
# } # }
}
} }