Andrew Bogott has submitted this change and it was merged.

Change subject: designate:  Set pool_target master to a public ip rather than 
127.0.0.1
......................................................................


designate:  Set pool_target master to a public ip rather than 127.0.0.1

This shouldn't matter much, but in the long run it'll be important to have
this ip match the one in the pdns domain record (as comment explains).

Change-Id: I475146f37384cb7d420f535a1c6091e410ea3c4a
---
M modules/openstack/templates/kilo/designate/designate.conf.erb
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/openstack/templates/kilo/designate/designate.conf.erb 
b/modules/openstack/templates/kilo/designate/designate.conf.erb
index 1868692..beab2d2 100644
--- a/modules/openstack/templates/kilo/designate/designate.conf.erb
+++ b/modules/openstack/templates/kilo/designate/designate.conf.erb
@@ -164,7 +164,9 @@
 # This is an alternate db account with more rights -- this setting should
 #  be used when running the db-sync command and the like during upgrades.
 #options = connection: mysql://<%= @designateconfig["pdns_db_admin_user"] 
%>:<%= @designateconfig["pdns_db_admin_pass"] %>@<%= 
@designateconfig["db_host"] %>/<%= @designateconfig["pdns_db_name"] %>
-masters = 127.0.0.1:5354 # this is a comma separated list of the mdns servers
+# Note that for this to take effect, the list of masters must also be set in 
the pdns database:
+#  UPDATE pdns.domains SET master="<comman-separated list of masters>"
+masters = <%= scope.function_ipresolve([@fqdn, 4]) %>:5354 # this is a comma 
separated list of the mdns servers
 type = powerdns
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/272784
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I475146f37384cb7d420f535a1c6091e410ea3c4a
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to