OP#436 add conf.d dir
This commit is contained in:
@@ -48,6 +48,18 @@ class confdroid_nagios::main::dirs (
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
# /etc/nagios/conf.d
|
||||
file { $ng_conf_d_dir:
|
||||
ensure => directory,
|
||||
path => $ng_conf_d_dir,
|
||||
owner => 'root',
|
||||
group => 'nagios',
|
||||
mode => '0750',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => nagios_etc_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
# /usr/lib64/nagios dir required for plugins
|
||||
# file { $ng_lib_dir:
|
||||
# ensure => directory,
|
||||
@@ -74,7 +86,7 @@ class confdroid_nagios::main::dirs (
|
||||
# seluser => system_u,
|
||||
# }
|
||||
|
||||
# if $fqdn == $ng_nagios_server {
|
||||
|
||||
# /etc/nagios/conf.d
|
||||
# file { $ng_conf_d_dir:
|
||||
# ensure => directory,
|
||||
@@ -191,6 +203,5 @@ class confdroid_nagios::main::dirs (
|
||||
# seltype => nagios_spool_t,
|
||||
# seluser => system_u,
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user