projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38edd7d
)
And allow nrpe from the dns master
author
Peter Palfrader
<peter@palfrader.org>
Fri, 20 Sep 2019 18:49:15 +0000
(20:49 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 20 Sep 2019 18:49:15 +0000
(20:49 +0200)
modules/roles/manifests/dns_primary.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/dns_primary.pp
b/modules/roles/manifests/dns_primary.pp
index
422db0d
..
8dd0f00
100644
(file)
--- 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(', ') }",
+ }
}