summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-08-14 10:09:46 -0400
committerMicah Anderson <micah@leap.se>2013-08-14 10:09:46 -0400
commit5b52d1ed6e77416412a293be025580261284aa37 (patch)
tree1f922df4d9de18c57ff2508dc8e634bfe9b6ebdb /puppet
parent9aa06a43fdc2a4eee50556e46b40d5003eb25925 (diff)
Fix problem where webapp production.log had the wrong permissions - #3471
Change-Id: I20a6ecc43e36fc1e8416c46f7e4d14726995d2f2
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_webapp/manifests/couchdb.pp10
1 files changed, 9 insertions, 1 deletions
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',