From d28b4f664c69e97c7615d6aafcf4141b4f63f342 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 23 Feb 2011 12:41:17 +0000 Subject: add more directory to be writable --- modules/phpbb/manifests/init.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') 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, -- cgit v1.2.1