/[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 1074 by misc, Tue Feb 15 00:48:24 2011 UTC revision 1075 by misc, Tue Feb 15 00:48:25 2011 UTC
# Line 19  class phpbb { Line 19  class phpbb {
19           source => 'puppet:///modules/phpbb/phpbb_apply_config.pl',           source => 'puppet:///modules/phpbb/phpbb_apply_config.pl',
20      }      }
21    
22      # TODO ldap account configuration      # TODO phpbb config
23      # ldap_user      # cookie_domain
     # ldap_server  
     # ldap_password ldap_base_dn cookie_domain  
24      # board_contact      # board_contact
25      #      #
26      define phpbb_config($value) {      define phpbb_config($value) {
# Line 33  class phpbb { Line 31  class phpbb {
31          }          }
32      }      }
33    
34      # TODO git checkout      phpbb_config { "ldap_user":
35            value => "ou=People,$dc_suffix",
36            value => "cn=phpbb-friteuse,ou=System Accounts,$dc_suffix",
37        }
38    
39        phpbb_config { "ldap_server":
40            value => "ldap.$domain",
41        }
42    
43        $ldap_password = extlookup("phpbb_ldap",'x')
44        phpbb_config { "ldap_password":
45            value => $ldap_password,
46        }
47    
48        phpbb_config { "ldap_base_dn":
49            value => "ou=People,$dc_suffix",
50        }
51    
52    
53    
54        # TODO git checkout of the code
55    
56        # TODO phpbb database configuration
57      $pgsql_password = extlookup("phpbb_pgsql",'x')      $pgsql_password = extlookup("phpbb_pgsql",'x')
58      @@postgresql::user { $user:      @@postgresql::user { $user:
59          password => $pgsql_password,          password => $pgsql_password,

Legend:
Removed from v.1074  
changed lines
  Added in v.1075

  ViewVC Help
Powered by ViewVC 1.1.30