/[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 1073 by misc, Tue Feb 15 00:48:22 2011 UTC revision 1074 by misc, Tue Feb 15 00:48:24 2011 UTC
# Line 11  class phpbb { Line 11  class phpbb {
11    
12      # TODO ldap account configuration      # TODO ldap account configuration
13    
14      # TODO apache setup      file { "/usr/local/bin/phpbb_apply_config.pl":
15             ensure => present,
16             owner => root,
17             group => root,
18             mode => 755,
19             source => 'puppet:///modules/phpbb/phpbb_apply_config.pl',
20        }
21    
22        # TODO ldap account configuration
23        # ldap_user
24        # ldap_server
25        # ldap_password ldap_base_dn cookie_domain
26        # board_contact
27        #
28        define phpbb_config($value) {
29            exec { "/usr/local/bin/phpbb_apply_config.pl $name":
30                user => root,
31                environment => "PGDATABASE=$database PGUSER=$user PGPASSWORD=$password PGHOST=pgsql.$domain VALUE=$value",
32                require => File["/usr/local/bin/phpbb_apply_config.pl"],
33            }
34        }
35    
36      # TODO git checkout      # TODO git checkout
37    

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

  ViewVC Help
Powered by ViewVC 1.1.30