From 3ea675a94c73b4376c6df46d56933253d0911bc9 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 4 Mar 2016 16:03:41 -0800 Subject: ensure /var/leap/couchdb exists before creating files there. --- puppet/modules/site_webapp/manifests/couchdb.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3