/[adm]/puppet/modules/phpbb/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/phpbb/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1072 - (show annotations) (download)
Tue Feb 15 00:48:20 2011 UTC (13 years, 2 months ago) by misc
File size: 549 byte(s)
create the postgresql db for phpbb
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 }

  ViewVC Help
Powered by ViewVC 1.1.30