OP#436 add main dir
This commit is contained in:
@@ -8,18 +8,19 @@ class confdroid_nagios::main::dirs (
|
||||
) inherits confdroid_nagios::params {
|
||||
require confdroid_nagios::main::install
|
||||
|
||||
if $ng_nagios_server == $fqdn {
|
||||
# main directory
|
||||
# file { $ng_main_dir:
|
||||
# ensure => directory,
|
||||
# path => $ng_main_dir,
|
||||
# owner => 'root',
|
||||
# group => 'root',
|
||||
# mode => '0755',
|
||||
# selrange => s0,
|
||||
# selrole => object_r,
|
||||
# seltype => nagios_etc_t,
|
||||
# seluser => system_u,
|
||||
# }
|
||||
file { $ng_main_dir:
|
||||
ensure => directory,
|
||||
path => $ng_main_dir,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => nagios_etc_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
# /usr/lib64/nagios dir required for plugins
|
||||
# file { $ng_lib_dir:
|
||||
@@ -192,3 +193,4 @@ class confdroid_nagios::main::dirs (
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user