diff --git a/README.md b/README.md index 7af9d6b..55ff0d8 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,9 @@ So far this module works through the usage of NRPE, which by default is enabled. ### Manage Additional Resources ### Known Problems -* Collected resources import ordering problem: The module might try to import collected facts before nagios is even installed. => ToDo +* Collected resources import ordering problem: The module might try to import collected facts before nagios is even installed. +* SELINUX modules: it appears that sealerts are different accross systems. it might be typically easier to work through sealerts manually. + ### Support * OS: CentOS 6, 7 diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 8c0f1dc..e898e8f 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -41,7 +41,7 @@ class cd_nagios::server::service ( enable => true, } - @@nagios_host { "localhost_${::hostname}": + @@nagios_host { 'localhost': ensure => $ng_ping_ensure, alias => 'localhost', address => '127.0.0.1',