diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/phpbb/manifests/init.pp | 9 |
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, |