diff options
author | varac <varacanero@zeromail.org> | 2013-08-22 15:26:25 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-08-27 10:54:43 +0200 |
commit | 4a55caf8cb828020b1535a8b7cd8351224b89bf2 (patch) | |
tree | d8c13b2f83fb7cda1fbfcf6691bd348e01e9d940 /manifests/bigcouch.pp | |
parent | eb45c81bec1328b5fed6bcfe78059037af190c05 (diff) |
deploy default.ini from template
fixes https://leap.se/code/issues/3527
Diffstat (limited to 'manifests/bigcouch.pp')
-rw-r--r-- | manifests/bigcouch.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp index 2e3a118..ffd2891 100644 --- a/manifests/bigcouch.pp +++ b/manifests/bigcouch.pp @@ -35,6 +35,14 @@ class couchdb::bigcouch inherits couchdb::base { require => Package['couchdb'] } + file { '/opt/bigcouch/etc/default.ini': + content => template('couchdb/bigcouch/default.ini'), + mode => '0640', + owner => 'bigcouch', + group => 'bigcouch', + require => Package['couchdb'] + } + Service ['couchdb'] { name => 'bigcouch' } |