From 5b52d1ed6e77416412a293be025580261284aa37 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 14 Aug 2013 10:09:46 -0400 Subject: Fix problem where webapp production.log had the wrong permissions - #3471 Change-Id: I20a6ecc43e36fc1e8416c46f7e4d14726995d2f2 --- puppet/modules/site_webapp/manifests/couchdb.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'puppet') diff --git a/puppet/modules/site_webapp/manifests/couchdb.pp b/puppet/modules/site_webapp/manifests/couchdb.pp index b4ef0980..ac01a5bc 100644 --- a/puppet/modules/site_webapp/manifests/couchdb.pp +++ b/puppet/modules/site_webapp/manifests/couchdb.pp @@ -39,7 +39,15 @@ class site_webapp::couchdb { mode => '0600', require => Vcsrepo['/srv/leap/webapp']; - '/srv/leap/webapp/logs/production.log': + '/srv/leap/webapp/log': + ensure => directory, + owner => leap-webapp, + group => leap-webapp, + mode => '0755', + require => Vcsrepo['/srv/leap/webapp']; + + '/srv/leap/webapp/log/production.log': + ensure => present, owner => leap-webapp, group => leap-webapp, mode => '0666', -- cgit v1.2.3