aboutsummaryrefslogtreecommitdiffstats
path: root/modules/phpbb/manifests/init.pp
blob: e04b1a326fcf016edb1517c9aa9caf8f8a68d68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class phpbb {

    include apache::mod_php
    include mysql

    package { ["php-gd","php-xml","php-zlib","php-ftp","php-magickwand" ] :
        ensure => installed
    }

    # TODO ldap account configuration

    # TODO apache setup

    # TODO git checkout 

    $pgsql_password = extlookup("phpbb_pgsql",'x')
    @@postgresql::user { 'phpbb':
        password => $pgsql_password,
    }

    @@postgresql::database { 'phpbb':
        description => "Phpbb database",
        user => "phpbb",
        require => Postgresql::User['phpbb']
    }
}