summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/setup.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/setup.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/setup.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/puppet/modules/site_couchdb/manifests/setup.pp b/puppet/modules/site_couchdb/manifests/setup.pp
index 7477d24c..a749c628 100644
--- a/puppet/modules/site_couchdb/manifests/setup.pp
+++ b/puppet/modules/site_couchdb/manifests/setup.pp
@@ -17,11 +17,11 @@ class site_couchdb::setup {
# (i.e. using curl/wget without passing credentials)
file {
'/etc/couchdb/couchdb.netrc':
- ensure => link,
- target => "/etc/couchdb/couchdb-${user}.netrc";
+ ensure => link,
+ target => "/etc/couchdb/couchdb-${user}.netrc";
'/root/.netrc':
- ensure => link,
- target => '/etc/couchdb/couchdb.netrc';
+ ensure => link,
+ target => '/etc/couchdb/couchdb.netrc';
}
# setup /etc/couchdb/couchdb-soledad-admin.netrc file for couchdb admin
@@ -33,7 +33,8 @@ class site_couchdb::setup {
mode => '0400',
owner => 'soledad-admin',
group => 'root',
- require => [ Package['couchdb'], User['soledad-admin'] ];
+ require => [ Package['couchdb'], User['soledad-admin'] ],
+ notify => Service['soledad-server'];
}
}