aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-23 12:41:17 +0000
committerMichael Scherer <misc@mageia.org>2011-02-23 12:41:17 +0000
commitd28b4f664c69e97c7615d6aafcf4141b4f63f342 (patch)
tree67e8ed1c704dbe071ce3f7954341d6342bf2ba52 /modules
parent5ce38cacc4d1e7a6aa3ccb59fc3ac52862051c11 (diff)
downloadpuppet-d28b4f664c69e97c7615d6aafcf4141b4f63f342.tar
puppet-d28b4f664c69e97c7615d6aafcf4141b4f63f342.tar.gz
puppet-d28b4f664c69e97c7615d6aafcf4141b4f63f342.tar.bz2
puppet-d28b4f664c69e97c7615d6aafcf4141b4f63f342.tar.xz
puppet-d28b4f664c69e97c7615d6aafcf4141b4f63f342.zip
add more directory to be writable
Diffstat (limited to 'modules')
-rw-r--r--modules/phpbb/manifests/init.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp
index c9ec7078..8373952e 100644
--- a/modules/phpbb/manifests/init.pp
+++ b/modules/phpbb/manifests/init.pp
@@ -93,8 +93,13 @@ class phpbb {
onlyif => "test -d $forums_dir/$lang/phpBB/install",
}
- # TODO manage the permission of the various subdirectories
- $writable_dir = ['cache']
+ # list found by reading ./install/install_install.php
+ # end of check_server_requirements ( 2 loops )
+ $writable_dir = ['cache',
+ 'images/avatars/upload',
+ 'files',
+ 'store',
+ ]
file { "$forums_dir/$lang/phpBB/$writable_dir":
ensure => directory,
owner => apache,