72 |
require => File["$forums_dir"] |
require => File["$forums_dir"] |
73 |
} |
} |
74 |
|
|
75 |
|
# TODO manage the permission of the various subdirectories |
76 |
|
$writable_dir = ['cache'] |
77 |
|
file { "$forums_dir/$lang/phpBB/$writable_dir": |
78 |
|
ensure => directory, |
79 |
|
owner => apache, |
80 |
|
group => root, |
81 |
|
mode => 755, |
82 |
|
require => Exec["git_clone $lang"], |
83 |
|
} |
84 |
|
|
85 |
file { "$forums_dir/$lang/phpBB/config.php": |
file { "$forums_dir/$lang/phpBB/config.php": |
86 |
ensure => present, |
ensure => present, |
87 |
owner => root, |
owner => root, |