summaryrefslogtreecommitdiff
path: root/puppet/modules/site_ca_daemon/manifests/couchdb.pp
blob: b5a1d2d4518d887a190a8f2c97d230ca585de4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class site_ca_daemon::couchdb {

  $ca               = hiera('ca_daemon')
  $couchdb_host     = $ca['couchdb_hosts']
  $couchdb_user     = $ca['couchdb_user']['username']
  $couchdb_password = $ca['couchdb_user']['password']

  file {
    '/srv/leap_ca_daemon/config/couchdb.yml':
      content => template('site_ca_daemon/couchdb.yml.erb'),
      owner   => leap_ca_daemon,
      group   => leap_ca_daemon,
      mode    => '0600';
  }

}