93 |
onlyif => "test -d $forums_dir/$lang/phpBB/install", |
onlyif => "test -d $forums_dir/$lang/phpBB/install", |
94 |
} |
} |
95 |
|
|
96 |
# TODO manage the permission of the various subdirectories |
# list found by reading ./install/install_install.php |
97 |
$writable_dir = ['cache'] |
# end of check_server_requirements ( 2 loops ) |
98 |
|
$writable_dir = ['cache', |
99 |
|
'images/avatars/upload', |
100 |
|
'files', |
101 |
|
'store', |
102 |
|
] |
103 |
file { "$forums_dir/$lang/phpBB/$writable_dir": |
file { "$forums_dir/$lang/phpBB/$writable_dir": |
104 |
ensure => directory, |
ensure => directory, |
105 |
owner => apache, |
owner => apache, |