summaryrefslogtreecommitdiff
path: root/puppet/modules/site_ca_daemon/manifests/couchdb.pp
blob: f446a05b0980e54c5df99840c3a13696d6f5efec (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 {
    '/etc/leap/leap_ca.yaml':
      content => template('site_ca_daemon/leap_ca.yaml.erb'),
      owner   => leap_ca_daemon,
      group   => leap_ca_daemon,
      mode    => '0600';
  }

}