diff options
author | varac <varacanero@zeromail.org> | 2013-03-11 21:09:33 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-03-11 21:09:33 +0100 |
commit | ee23e9ab170d63730ed4ef97deaf7b33047121d0 (patch) | |
tree | 08e28183b97fc19d0a07e1086b847c531d40bcf8 /manifests/bigcouch.pp | |
parent | 8133f60f52492df6d936eb3b9d33275c9f048708 (diff) |
/etc/couchdb: install bigcouch package first
Diffstat (limited to 'manifests/bigcouch.pp')
-rw-r--r-- | manifests/bigcouch.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp index bfed611..e3cc26e 100644 --- a/manifests/bigcouch.pp +++ b/manifests/bigcouch.pp @@ -14,14 +14,15 @@ class couchdb::bigcouch inherits couchdb::base { } file {'/etc/couchdb': - ensure => link, - target => '/opt/bigcouch/etc' + ensure => link, + target => '/opt/bigcouch/etc', + require => Package['couchdb'] } Package ['couchdb'] { name => 'bigcouch', require => [ Apt::Sources_list ['bigcouch-cloudant.list'], - Apt::Apt_conf ['allow_unauthenticated'], File['/etc/couchdb'], + Apt::Apt_conf ['allow_unauthenticated'], Exec[refresh_apt] ] } |