/[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 1160 by misc, Mon Feb 21 15:52:21 2011 UTC revision 1161 by misc, Mon Feb 21 19:07:26 2011 UTC
# Line 55  class phpbb { Line 55  class phpbb {
55    
56      # TODO find a way to avoid all the phpbb::base prefix      # TODO find a way to avoid all the phpbb::base prefix
57      define instance() {      define instance() {
58            include phpbb::base
59    
60          $lang = $name          $lang = $name
61          $database = "${phpbb::base::db}_$lang"          $database = "${phpbb::base::db}_$lang"
62                    
         include git::client  
         include phpbb::base  
63          $user = $phpbb::base::user          $user = $phpbb::base::user
64          $pgsql_password = $phpbb::base::pgsql_password          $pgsql_password = $phpbb::base::pgsql_password
65          $forums_dir = $phpbb::base::forums_dir          $forums_dir = $phpbb::base::forums_dir
66    
67            include git::client
68          # TODO manage the permission of the various subdirectory          # TODO manage the permission of the various subdirectory
69          exec { "git clone git://git.$domain/forum/ $lang":          exec { "git clone git://git.$domain/forum/ $lang":
70              cwd => $forums_dir,              cwd => $forums_dir,

Legend:
Removed from v.1160  
changed lines
  Added in v.1161

  ViewVC Help
Powered by ViewVC 1.1.30