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 |
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 |
} |
} |