diff options
author | Micah Anderson <micah@riseup.net> | 2013-03-31 12:32:42 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-02 10:21:06 -0400 |
commit | baf3ed5b6db4e8af052564864d8c3e426cf5d9d0 (patch) | |
tree | 7715f88b8d9df86e9bb3432ab92b9eef0902fd1f /provider_base | |
parent | dd459efb1063de6c11f9f11583290c6a0891436a (diff) |
switch to using stunnel_client and stunnel_server leap_cli macros
add bigcouch_replication_clients to couchdb.json
change site_couchdb/manifests/stunnel to use stunnel_client and stunnel_server
generated hiera values to setup the stunnels for the couch_server connections,
and the bigcouch_replication_server and bigcouch_replication_clients tunnels
instead of using hard-coded ips and ports.
also change the pid names to be more consistent with what the tunnels are and
are named
Diffstat (limited to 'provider_base')
-rw-r--r-- | provider_base/services/couchdb.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/provider_base/services/couchdb.json b/provider_base/services/couchdb.json index 41f9695f..c00f08cd 100644 --- a/provider_base/services/couchdb.json +++ b/provider_base/services/couchdb.json @@ -5,7 +5,8 @@ }, "stunnel": { "couch_server": "= stunnel_server(couch.port)", - "bigcouch_replication_server": "= stunnel_server(couch.bigcouch.port)" + "bigcouch_replication_server": "= stunnel_server(couch.bigcouch.port)", + "bigcouch_replication_clients": "= stunnel_client(nodes_like_me[:services => :couchdb], global.services[:couchdb].couch.bigcouch.port)" }, "couch": { "port": 5984, |