Giuseppe Lavagetto has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/355093 )

Change subject: profile::etcd::replication: write to localhost via http
......................................................................


profile::etcd::replication: write to localhost via http

Since we're using replication only on clusters that use the tlsproxy
profile, and we're planning on having the replicated cluster to be
read-only, we need to write directly to localhost or writes would fail.

Change-Id: Ic37ea88fe7f43ea1252a2dd1b847b4947b92e9fa
---
M modules/profile/manifests/etcd/replication.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/profile/manifests/etcd/replication.pp 
b/modules/profile/manifests/etcd/replication.pp
index 08a87f7..f0bf026 100644
--- a/modules/profile/manifests/etcd/replication.pp
+++ b/modules/profile/manifests/etcd/replication.pp
@@ -32,7 +32,7 @@
     etcdmirror::instance { $resource_title:
         src      => "https://${hosts[0]}:2379";,
         src_path => $origin['path'],
-        dst      => "https://root:${accounts['root']}@${::fqdn}:2379",
+        dst      => 'http://localhost:2378',
         dst_path => $destination_path,
         enable   => $active,
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic37ea88fe7f43ea1252a2dd1b847b4947b92e9fa
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to