69 |
command =>"git clone git://git.$domain/forum/ $lang", |
command =>"git clone git://git.$domain/forum/ $lang", |
70 |
cwd => $forums_dir, |
cwd => $forums_dir, |
71 |
creates => "$forums_dir/$lang", |
creates => "$forums_dir/$lang", |
72 |
require => File["$forums_dir"] |
require => File["$forums_dir"], |
73 |
|
notify => "rm_install $lang", |
74 |
|
} |
75 |
|
|
76 |
|
# remove this or the forum will not work ( 'board disabled' ) |
77 |
|
# maybe it would be better to move this elsehwere, I |
78 |
|
# am not sure ( and in any case, that's still in git ) |
79 |
|
exec { "rm_install $lang": |
80 |
|
command => "rm -Rf $forums_dir/$lang/phpBB/install": |
81 |
|
onlyif => "test -d $forums_dir/$lang/phpBB/install", |
82 |
} |
} |
83 |
|
|
84 |
# TODO manage the permission of the various subdirectories |
# TODO manage the permission of the various subdirectories |