1 |
class phpbb { |
2 |
|
3 |
include apache::mod_php |
4 |
include mysql |
5 |
|
6 |
package { ["php-gd","php-xml","php-zlib","php-ftp","php-magickwand" ] : |
7 |
ensure => installed |
8 |
} |
9 |
|
10 |
# TODO ldap account configuration |
11 |
|
12 |
# TODO apache setup |
13 |
|
14 |
# TODO git checkout |
15 |
|
16 |
$pgsql_password = extlookup("phpbb_pgsql",'x') |
17 |
@@postgresql::user { 'phpbb': |
18 |
password => $pgsql_password, |
19 |
} |
20 |
|
21 |
@@postgresql::database { 'phpbb': |
22 |
description => "Phpbb database", |
23 |
user => "phpbb", |
24 |
require => Postgresql::User['phpbb'] |
25 |
} |
26 |
} |