summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-11 21:09:33 +0100
committervarac <varacanero@zeromail.org>2013-03-11 21:09:33 +0100
commitee23e9ab170d63730ed4ef97deaf7b33047121d0 (patch)
tree08e28183b97fc19d0a07e1086b847c531d40bcf8
parent8133f60f52492df6d936eb3b9d33275c9f048708 (diff)
/etc/couchdb: install bigcouch package first
-rw-r--r--manifests/bigcouch.pp7
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] ]
}