diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-21 19:07:26 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-21 19:07:26 +0000 |
commit | b355c3df4502a623ef755d87c9beb756d5522b52 (patch) | |
tree | 0e36caa398ad528ec931da2904b6f019e08d9989 /modules/phpbb/manifests | |
parent | a41e9169b9433e9f4da790d8f9df00eea9e9498f (diff) | |
download | puppet-b355c3df4502a623ef755d87c9beb756d5522b52.tar puppet-b355c3df4502a623ef755d87c9beb756d5522b52.tar.gz puppet-b355c3df4502a623ef755d87c9beb756d5522b52.tar.bz2 puppet-b355c3df4502a623ef755d87c9beb756d5522b52.tar.xz puppet-b355c3df4502a623ef755d87c9beb756d5522b52.zip |
- fix order of include ( this should not matter, except in this specific case )
Diffstat (limited to 'modules/phpbb/manifests')
-rw-r--r-- | modules/phpbb/manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 0675ca15..5d4ab075 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -55,15 +55,16 @@ class phpbb { # TODO find a way to avoid all the phpbb::base prefix define instance() { + include phpbb::base + $lang = $name $database = "${phpbb::base::db}_$lang" - include git::client - include phpbb::base $user = $phpbb::base::user $pgsql_password = $phpbb::base::pgsql_password $forums_dir = $phpbb::base::forums_dir + include git::client # TODO manage the permission of the various subdirectory exec { "git clone git://git.$domain/forum/ $lang": cwd => $forums_dir, |