diff options
author | varac <varacanero@zeromail.org> | 2012-12-07 15:03:38 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-12-07 15:03:38 +0100 |
commit | d6e09121a9f3d7aa4b6d5897cddf8a0ec7227823 (patch) | |
tree | f819c7274fc19d2013f92e0ac8904ef4ca2b9aee /puppet/modules/site_ca_daemon/manifests/couchdb.pp | |
parent | 2a9dbd931e095c933831edd19337607f5f356ae5 (diff) | |
parent | 528aaee2f24b2b1b57435df6db42b89af6ba76de (diff) |
Merge branch 'feature/ca' into develop
Diffstat (limited to 'puppet/modules/site_ca_daemon/manifests/couchdb.pp')
-rw-r--r-- | puppet/modules/site_ca_daemon/manifests/couchdb.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/site_ca_daemon/manifests/couchdb.pp b/puppet/modules/site_ca_daemon/manifests/couchdb.pp new file mode 100644 index 00000000..b5a1d2d4 --- /dev/null +++ b/puppet/modules/site_ca_daemon/manifests/couchdb.pp @@ -0,0 +1,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'; + } + +} |