From: Peter Palfrader Date: Fri, 20 Sep 2019 18:49:15 +0000 (+0200) Subject: And allow nrpe from the dns master X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5c60e49a96fe718a8bb84c957c1715184ee65749;p=mirror%2Fdsa-puppet.git And allow nrpe from the dns master --- diff --git a/modules/roles/manifests/dns_primary.pp b/modules/roles/manifests/dns_primary.pp index 422db0df8..8dd0f0055 100644 --- a/modules/roles/manifests/dns_primary.pp +++ b/modules/roles/manifests/dns_primary.pp @@ -58,4 +58,9 @@ class roles::dns_primary( port => '5666', saddr => $base::public_addresses, } + @@concat::fragment { "nrpe-debian-allow-${::fqdn}": + tag => 'nagios-nrpe::server::debianorg.cfg', + target => '/etc/nagios/nrpe.d/debianorg.cfg', + content => "allowed_hosts=${ $base::public_addresses.join(', ') }", + } }