diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-24 12:16:08 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-24 12:16:08 +0000 |
commit | 11527e085de71dfda05c05452133520d44e7ea5c (patch) | |
tree | 0a82c78541ab3c1dbd4107342add76090d552aba /modules/transifex/manifests/init.pp | |
parent | 88ac05d07c0037961b1bf14b88aafb9eac46abb8 (diff) | |
download | puppet-11527e085de71dfda05c05452133520d44e7ea5c.tar puppet-11527e085de71dfda05c05452133520d44e7ea5c.tar.gz puppet-11527e085de71dfda05c05452133520d44e7ea5c.tar.bz2 puppet-11527e085de71dfda05c05452133520d44e7ea5c.tar.xz puppet-11527e085de71dfda05c05452133520d44e7ea5c.zip |
- first step to the resolution of tx problem, add proper file system permission
Diffstat (limited to 'modules/transifex/manifests/init.pp')
-rw-r--r-- | modules/transifex/manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
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 |