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

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

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

revision 1345 by misc, Tue Mar 22 15:17:55 2011 UTC revision 1356 by misc, Tue Mar 22 17:43:44 2011 UTC
# Line 25  class sympa { Line 25  class sympa {
25          $pgsql_password = extlookup("sympa_pgsql",'x')          $pgsql_password = extlookup("sympa_pgsql",'x')
26          $ldap_password = extlookup("sympa_ldap",'x')          $ldap_password = extlookup("sympa_ldap",'x')
27            
28          postgresql::remote_user { 'sympa':          postgresql::remote_db_and_user { 'sympa':
29              password => $pgsql_password,              password => $pgsql_password,
30                description => "Sympa database",
31          }          }
32          
33          file { '/etc/sympa/sympa.conf':          file { '/etc/sympa/sympa.conf':
34              ensure => present,              ensure => present,
35          # should be cleaner to have it root owned, but puppet do not support acl          # should be cleaner to have it root owned, but puppet do not support acl
# Line 60  class sympa { Line 61  class sympa {
61              use_ssl => true,              use_ssl => true,
62              content => template("sympa/vhost_ml.conf"),              content => template("sympa/vhost_ml.conf"),
63          }          }
64      
         postgresql::remote_database { 'sympa':  
             description => "Sympa database",  
             user => "sympa",  
         }  
       
65          subversion::snapshot { "/etc/sympa/web_tt2":          subversion::snapshot { "/etc/sympa/web_tt2":
66              source => "svn://svn.mageia.org/svn/web/templates/sympa/trunk"              source => "svn://svn.mageia.org/svn/web/templates/sympa/trunk"
67          }          }

Legend:
Removed from v.1345  
changed lines
  Added in v.1356

  ViewVC Help
Powered by ViewVC 1.1.30