summaryrefslogtreecommitdiff
path: root/manifests/bigcouch.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/bigcouch.pp')
-rw-r--r--manifests/bigcouch.pp13
1 files changed, 9 insertions, 4 deletions
diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp
index 9beea75..c56890b 100644
--- a/manifests/bigcouch.pp
+++ b/manifests/bigcouch.pp
@@ -1,9 +1,14 @@
class couchdb::bigcouch inherits couchdb::base {
- file { '/etc/couchdb':
- ensure => link,
- target => '/opt/bigcouch/etc',
- require => Package['couchdb']
+ file {
+ '/opt/bigcouch':
+ ensure => directory,
+ mode => '0755';
+
+ '/opt/bigcouch/etc':
+ ensure => link,
+ target => '/etc/couchdb',
+ before => Package['couchdb'];
}
# there's no bigcouch in the official debian repo, you need