/[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 1073 - (show annotations) (download)
Tue Feb 15 00:48:22 2011 UTC (13 years, 2 months ago) by misc
File size: 589 byte(s)
use a variable
1 class phpbb {
2 $database = "phpbb"
3 $user = "phpbb"
4
5 include apache::mod_php
6 include mysql
7
8 package { ["php-gd","php-xml","php-zlib","php-ftp","php-magickwand" ] :
9 ensure => installed
10 }
11
12 # TODO ldap account configuration
13
14 # TODO apache setup
15
16 # TODO git checkout
17
18 $pgsql_password = extlookup("phpbb_pgsql",'x')
19 @@postgresql::user { $user:
20 password => $pgsql_password,
21 }
22
23 @@postgresql::database { $database:
24 description => "Phpbb database",
25 user => $user,
26 require => Postgresql::User[$user]
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.30