11 |
|
|
12 |
# TODO ldap account configuration |
# TODO ldap account configuration |
13 |
|
|
14 |
# TODO apache setup |
file { "/usr/local/bin/phpbb_apply_config.pl": |
15 |
|
ensure => present, |
16 |
|
owner => root, |
17 |
|
group => root, |
18 |
|
mode => 755, |
19 |
|
source => 'puppet:///modules/phpbb/phpbb_apply_config.pl', |
20 |
|
} |
21 |
|
|
22 |
|
# TODO ldap account configuration |
23 |
|
# ldap_user |
24 |
|
# ldap_server |
25 |
|
# ldap_password ldap_base_dn cookie_domain |
26 |
|
# board_contact |
27 |
|
# |
28 |
|
define phpbb_config($value) { |
29 |
|
exec { "/usr/local/bin/phpbb_apply_config.pl $name": |
30 |
|
user => root, |
31 |
|
environment => "PGDATABASE=$database PGUSER=$user PGPASSWORD=$password PGHOST=pgsql.$domain VALUE=$value", |
32 |
|
require => File["/usr/local/bin/phpbb_apply_config.pl"], |
33 |
|
} |
34 |
|
} |
35 |
|
|
36 |
# TODO git checkout |
# TODO git checkout |
37 |
|
|