summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-04 16:43:04 -0400
committerMicah Anderson <micah@riseup.net>2013-04-04 16:43:04 -0400
commitdc6cd0ecd31a03e5093cdd9bb6dd1cad576199a2 (patch)
tree91e731032b6d7cac8f563d1d7836a567dcbaec52
parenta115e1c2e48adaa5f53777b63c25814e536e1e5a (diff)
set permissions on the rails production.log, otherwise passenger complains about this in the apache log file
-rw-r--r--puppet/modules/site_webapp/manifests/couchdb.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/couchdb.pp b/puppet/modules/site_webapp/manifests/couchdb.pp
index ebb0d72a..f6203552 100644
--- a/puppet/modules/site_webapp/manifests/couchdb.pp
+++ b/puppet/modules/site_webapp/manifests/couchdb.pp
@@ -37,6 +37,11 @@ class site_webapp::couchdb {
group => leap-webapp,
mode => '0600';
+ '/srv/leap-webapp/logs/production.log':
+ owner => leap-webapp,
+ group => leap-webapp,
+ mode => '0660';
+
'/usr/local/sbin/migrate_design_documents':
source => 'puppet:///modules/site_webapp/migrate_design_documents',
owner => root,