OP#436 move nagios localhost to nagios.pp

This commit is contained in:
2026-03-10 12:04:48 +01:00
parent 880ce2aeaa
commit 5e9060d682

View File

@@ -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',