summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/couchdb.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/provider_base/services/couchdb.json b/provider_base/services/couchdb.json
index 41f9695f..7b649da9 100644
--- a/provider_base/services/couchdb.json
+++ b/provider_base/services/couchdb.json
@@ -7,6 +7,7 @@
"couch_server": "= stunnel_server(couch.port)",
"bigcouch_replication_server": "= stunnel_server(couch.bigcouch.port)"
},
+ "stunnel": "= nextport = 4000; nodes_like_me[:services => :couchdb].values.inject({}) {|hsh, node| hsh[node.name + node.couch.bigcouch.port.to_s] = {'accept_port' => nextport.to_s, 'connect' => node.domain.full }; nextport+=1; hsh}",
"couch": {
"port": 5984,
"bigcouch": {