diff --git a/doc/file.README.html b/doc/file.README.html index f2ebc2d..c7d9a06 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -106,7 +106,9 @@
if FQDN equals the specified ng_nagios_server, nagios server with all required specs is installed, else only nagios client packages and the target specs
if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )
an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.
+if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)
if FQDN equals the specified ng_nagios_server, nagios server with all required specs is installed, else only nagios client packages and the target specs
if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )
an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.
+if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)
# File 'manifests/main/dirs.pp', line 6
@@ -341,6 +352,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,
@@ -367,7 +390,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,
@@ -484,7 +507,6 @@ class confdroid_nagios::main::dirs (
# seltype => nagios_spool_t,
# seluser => system_u,
# }
-# }
}
}