summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-07-29 14:53:50 +0200
committerAzul <azul@riseup.net>2014-07-29 14:53:50 +0200
commitf7edf6d31a7ffbbc66ab778edec85f3cad4e6c82 (patch)
tree3a0819204e19b4b2e7e59c24890ed73a80da9731 /provider_base
parent828ff89b9bbce6471e1d2ad1a10dd095fa498081 (diff)
fix haproxy_servers call with couchdb default port
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/services/mx.json2
-rw-r--r--provider_base/services/webapp.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/provider_base/services/mx.json b/provider_base/services/mx.json
index 32a93638..11293ae8 100644
--- a/provider_base/services/mx.json
+++ b/provider_base/services/mx.json
@@ -7,7 +7,7 @@
"haproxy": {
"couch": {
"listen_port": 4096,
- "servers": "= haproxy_servers(nodes_like_me[:services => :couchdb], stunnel.clients.couch_client, 5984)"
+ "servers": "= haproxy_servers(nodes_like_me[:services => :couchdb], stunnel.clients.couch_client, global.services[:couchdb].couch.port)"
}
},
"couchdb_leap_mx_user": {
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
index 1af95022..3af0dade 100644
--- a/provider_base/services/webapp.json
+++ b/provider_base/services/webapp.json
@@ -40,7 +40,7 @@
"haproxy": {
"couch": {
"listen_port": 4096,
- "servers": "= haproxy_servers(nodes_like_me[:services => :couchdb], stunnel.clients.couch_client, global.services[:couchdb].couch.port, 5984)"
+ "servers": "= haproxy_servers(nodes_like_me[:services => :couchdb], stunnel.clients.couch_client, global.services[:couchdb].couch.port)"
}
},
"definition_files": {