projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c5553
)
Configure gdnsd to only listen on external addresses
author
Tom Hughes
<tom@compton.nu>
Thu, 21 Mar 2019 20:53:55 +0000
(20:53 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 21 Mar 2019 20:53:55 +0000
(20:53 +0000)
cookbooks/geodns/templates/default/config.erb
patch
|
blob
|
history
diff --git
a/cookbooks/geodns/templates/default/config.erb
b/cookbooks/geodns/templates/default/config.erb
index dfd84c38b0ce7ae862de246b91803c3ff637acbe..2d1ed8ef01d2f1ae3af9b23214bfea352cc072f8 100644
(file)
--- a/
cookbooks/geodns/templates/default/config.erb
+++ b/
cookbooks/geodns/templates/default/config.erb
@@
-1,3
+1,7
@@
+options => {
+ listen => [ <%= node.ipaddresses(:role => :external).join(", ") %> ]
+}
+
plugins => {
geoip => {
maps => {