summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/init.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp13
1 files changed, 6 insertions, 7 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index 1933f01b..ad0c996a 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -70,14 +70,13 @@ class site_couchdb {
# we symlink this to /root/.netrc for couchdb_scripts (eg. backup)
# and makes life easier for the admin (i.e. using curl/wget without
# passing credentials)
- file { '/root/.netrc':
- ensure => link,
- target => '/etc/couchdb/couchdb.netrc',
- require => Couchdb::Query::Setup['localhost']
- }
+ file {
+ '/root/.netrc':
+ ensure => link,
+ target => '/etc/couchdb/couchdb.netrc';
- file { '/srv/leap/couchdb':
- ensure => directory
+ '/srv/leap/couchdb':
+ ensure => directory
}
couchdb::query::setup { 'localhost':