55 |
|
|
56 |
# TODO find a way to avoid all the phpbb::base prefix |
# TODO find a way to avoid all the phpbb::base prefix |
57 |
define instance() { |
define instance() { |
58 |
|
include phpbb::base |
59 |
|
|
60 |
$lang = $name |
$lang = $name |
61 |
$database = "${phpbb::base::db}_$lang" |
$database = "${phpbb::base::db}_$lang" |
62 |
|
|
|
include git::client |
|
|
include phpbb::base |
|
63 |
$user = $phpbb::base::user |
$user = $phpbb::base::user |
64 |
$pgsql_password = $phpbb::base::pgsql_password |
$pgsql_password = $phpbb::base::pgsql_password |
65 |
$forums_dir = $phpbb::base::forums_dir |
$forums_dir = $phpbb::base::forums_dir |
66 |
|
|
67 |
|
include git::client |
68 |
# TODO manage the permission of the various subdirectory |
# TODO manage the permission of the various subdirectory |
69 |
exec { "git clone git://git.$domain/forum/ $lang": |
exec { "git clone git://git.$domain/forum/ $lang": |
70 |
cwd => $forums_dir, |
cwd => $forums_dir, |