19 |
source => 'puppet:///modules/phpbb/phpbb_apply_config.pl', |
source => 'puppet:///modules/phpbb/phpbb_apply_config.pl', |
20 |
} |
} |
21 |
|
|
22 |
# TODO ldap account configuration |
# TODO phpbb config |
23 |
# ldap_user |
# cookie_domain |
|
# ldap_server |
|
|
# ldap_password ldap_base_dn cookie_domain |
|
24 |
# board_contact |
# board_contact |
25 |
# |
# |
26 |
define phpbb_config($value) { |
define phpbb_config($value) { |
31 |
} |
} |
32 |
} |
} |
33 |
|
|
34 |
# TODO git checkout |
phpbb_config { "ldap_user": |
35 |
|
value => "ou=People,$dc_suffix", |
36 |
|
value => "cn=phpbb-friteuse,ou=System Accounts,$dc_suffix", |
37 |
|
} |
38 |
|
|
39 |
|
phpbb_config { "ldap_server": |
40 |
|
value => "ldap.$domain", |
41 |
|
} |
42 |
|
|
43 |
|
$ldap_password = extlookup("phpbb_ldap",'x') |
44 |
|
phpbb_config { "ldap_password": |
45 |
|
value => $ldap_password, |
46 |
|
} |
47 |
|
|
48 |
|
phpbb_config { "ldap_base_dn": |
49 |
|
value => "ou=People,$dc_suffix", |
50 |
|
} |
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
# TODO git checkout of the code |
55 |
|
|
56 |
|
# TODO phpbb database configuration |
57 |
$pgsql_password = extlookup("phpbb_pgsql",'x') |
$pgsql_password = extlookup("phpbb_pgsql",'x') |
58 |
@@postgresql::user { $user: |
@@postgresql::user { $user: |
59 |
password => $pgsql_password, |
password => $pgsql_password, |