blob: e3f5e59f286282c31c160ba538483fa7b36b5ce4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class site_couchdb {
$x509 = hiera('x509')
$key = $x509['key']
$cert = $x509['cert']
# install couchdb package first, then configure it
Class['site_couchdb::package'] -> Class['site_couchdb::configure']
include site_couchdb::package
include site_couchdb::configure
couchdb::ssl::deploy_cert { 'cert':
key => $key,
cert => $cert,
}
include couchdb::deploy_config
}
|