OP#436 move nagios localhost to nagios.pp
This commit is contained in:
@@ -7,7 +7,7 @@ class confdroid_nagios::server::nagios (
|
|||||||
|
|
||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
@@nagios_host { 'localhost':
|
@@nagios_host { "localhost_${fqdn}":
|
||||||
ensure => $ng_ping_ensure,
|
ensure => $ng_ping_ensure,
|
||||||
alias => 'localhost',
|
alias => 'localhost',
|
||||||
address => '127.0.0.1',
|
address => '127.0.0.1',
|
||||||
|
|||||||
Reference in New Issue
Block a user