From 11527e085de71dfda05c05452133520d44e7ea5c Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 24 Mar 2011 12:16:08 +0000 Subject: - first step to the resolution of tx problem, add proper file system permission --- modules/transifex/manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules') diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index 86f4b9da..f6da5ca1 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -80,6 +80,14 @@ class transifex { aliases => { "/site_media/static/admin/" => "/usr/lib/python2.6/site-packages/django/contrib/admin/media/", }, } + # tx need write access there when running in apache + file { "/var/lib/transifex/scratchdir/storage_files": + ensure => directory, + owner => apache, + group => apache, + require => Package['transifex'], + } + apache::vhost_redirect_ssl { "transifex.$domain": } # the group are mapped from ldap, since AUTH_LDAP_FIND_GROUP_PERMS is set to yes -- cgit v1.2.1