diff options
-rw-r--r-- | modules/phpbb/manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 7dd14621..328f116a 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -72,6 +72,16 @@ class phpbb { require => File["$forums_dir"] } + # TODO manage the permission of the various subdirectories + $writable_dir = ['cache'] + file { "$forums_dir/$lang/phpBB/$writable_dir": + ensure => directory, + owner => apache, + group => root, + mode => 755, + require => Exec["git_clone $lang"], + } + file { "$forums_dir/$lang/phpBB/config.php": ensure => present, owner => root, |