summaryrefslogtreecommitdiff
path: root/manifests/bigcouch.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/bigcouch.pp')
-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] ]
}