summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-04 16:03:41 -0800
committerelijah <elijah@riseup.net>2016-03-04 16:03:41 -0800
commit3ea675a94c73b4376c6df46d56933253d0911bc9 (patch)
tree67ebe25f0fbae9c476b3ce98ea89368dc331943d /puppet/modules/site_webapp
parente7ccdeb6c98ceb6b6afcb09a31d79faba63edbad (diff)
ensure /var/leap/couchdb exists before creating files there.
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r--puppet/modules/site_webapp/manifests/couchdb.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/manifests/couchdb.pp b/puppet/modules/site_webapp/manifests/couchdb.pp
index c13052eb..223604a9 100644
--- a/puppet/modules/site_webapp/manifests/couchdb.pp
+++ b/puppet/modules/site_webapp/manifests/couchdb.pp
@@ -30,7 +30,8 @@ class site_webapp::couchdb {
content => template('site_webapp/couchdb.admin.yml.erb'),
owner => 'root',
group => 'root',
- mode => '0600';
+ mode => '0600',
+ require => File['/srv/leap/couchdb'];
'/srv/leap/webapp/log':
ensure => directory,