blob: 02aae0c314f7dd96fabf0339bfe909b5ef0f30ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
define site_couchdb::apache_ssl_proxy ($key, $cert) {
$apache_no_default_site = true
include apache
apache::module {
'proxy': ensure => present;
'proxy_http': ensure => present;
'rewrite': ensure => present;
'ssl': ensure => present;
}
apache::vhost::file { 'couchdb_proxy': }
x509::key {
'leap_couchdb':
content => $x509['key'],
notify => Service[apache];
}
x509::cert {
'leap_couchdb':
content => $x509['cert'],
notify => Service[apache];
}
}
|