diff options
author | Micah Anderson <micah@riseup.net> | 2013-03-14 18:22:15 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-03-14 18:40:20 -0400 |
commit | 42a040ac79e1c92d12b6bb9661bbf05ace44d622 (patch) | |
tree | 16f22e52a3a419bbe9dd566e850f8608a1cccf63 /puppet/modules/site_couchdb/manifests/init.pp | |
parent | 8687640aa9ec3591d0f038e40547a7c9c5e59443 (diff) |
add couchdb stunnel server
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/init.pp')
-rw-r--r-- | puppet/modules/site_couchdb/manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp index 6f648c51..d317de65 100644 --- a/puppet/modules/site_couchdb/manifests/init.pp +++ b/puppet/modules/site_couchdb/manifests/init.pp @@ -4,6 +4,7 @@ class site_couchdb ( $bigcouch = false ) { $x509 = hiera('x509') $key = $x509['key'] $cert = $x509['cert'] + $ca = $x509['ca_cert'] $couchdb_config = hiera('couch') $couchdb_users = $couchdb_config['users'] $couchdb_admin = $couchdb_users['admin'] @@ -34,6 +35,13 @@ class site_couchdb ( $bigcouch = false ) { # this is here to disable and remove the proxy include site_couchdb::apache_ssl_proxy + # the above apache_ssl_proxy is replaced by the following stunnel + class { 'site_couchdb::stunnel': + key => $key, + cert => $cert, + ca => $ca + } + couchdb::query::setup { 'localhost': user => $couchdb_admin_user, pw => $couchdb_admin_pw |