summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-03 11:33:38 +0100
committervarac <varacanero@zeromail.org>2012-11-03 11:33:38 +0100
commit5493d362f7b3abd6c8aa9350341a551c53622604 (patch)
treec25a8e52bc9de6fdea58c5fcc787133cf035e219 /puppet/modules/site_couchdb/manifests/init.pp
parent16f007c540d56c2e64c1f73bd1ff49674bd0afeb (diff)
configure apache ssl proxy for couchdb
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/init.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp18
1 files changed, 13 insertions, 5 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index e3f5e59f..b296279c 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -9,11 +9,19 @@ class site_couchdb {
include site_couchdb::package
include site_couchdb::configure
+ include couchdb::deploy_config
- couchdb::ssl::deploy_cert { 'cert':
- key => $key,
- cert => $cert,
- }
- include couchdb::deploy_config
+ #couchdb::ssl::deploy_cert { 'cert':
+ # key => $key,
+ # cert => $cert,
+ #}
+
+ include apache::ssl
+ apache::module {
+ 'rewrite': ensure => present;
+ 'proxy': ensure => present;
+ 'proxy_http': ensure => present;
+ }
+ apache::vhost::file { 'couchdb_proxy': }
}