summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-08-14 10:26:58 -0400
committerMicah Anderson <micah@leap.se>2013-08-14 10:26:58 -0400
commitaccd512c2a356d241a92868c51b5e2e720f47606 (patch)
tree971b0fefbd6675bc5e55535c96a16cd393b9ea5b /puppet/modules
parent3544497599bfd7902b7b1be6661aaf1048af44e3 (diff)
parent5b52d1ed6e77416412a293be025580261284aa37 (diff)
Merge branch 'feature/webapp_production_log' into develop
Diffstat (limited to 'puppet/modules')
-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',