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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1072 by misc, Tue Feb 15 00:48:20 2011 UTC revision 1073 by misc, Tue Feb 15 00:48:22 2011 UTC
# Line 1  Line 1 
1  class phpbb {  class phpbb {
2        $database = "phpbb"
3        $user = "phpbb"
4    
5      include apache::mod_php      include apache::mod_php
6      include mysql      include mysql
# Line 14  class phpbb { Line 16  class phpbb {
16      # TODO git checkout      # TODO git checkout
17    
18      $pgsql_password = extlookup("phpbb_pgsql",'x')      $pgsql_password = extlookup("phpbb_pgsql",'x')
19      @@postgresql::user { 'phpbb':      @@postgresql::user { $user:
20          password => $pgsql_password,          password => $pgsql_password,
21      }      }
22    
23      @@postgresql::database { 'phpbb':      @@postgresql::database { $database:
24          description => "Phpbb database",          description => "Phpbb database",
25          user => "phpbb",          user => $user,
26          require => Postgresql::User['phpbb']          require => Postgresql::User[$user]
27      }      }
28  }  }

Legend:
Removed from v.1072  
changed lines
  Added in v.1073

  ViewVC Help
Powered by ViewVC 1.1.30