summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-20 19:28:48 +0100
committerMicah Anderson <micah@riseup.net>2013-04-02 10:21:05 -0400
commitaf141e738c8b90a11ff8009e2eed602b168e4fc3 (patch)
treec4460caf7ba521a6f73be06e9e72ae1b3191c4fc /provider_base/services
parentd9c9cbb7ae5fde7767ac6b2cbc25936a0045104d (diff)
add stunnel hiera values to provider_base/services/couchdb.json for bigcouch cluster protocol
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": {