9 |
$password = extlookup("sympa_password",'x') |
$password = extlookup("sympa_password",'x') |
10 |
$ldappass = extlookup("sympa_ldap",'x') |
$ldappass = extlookup("sympa_ldap",'x') |
11 |
|
|
12 |
|
@@postgresql::user { 'sympa': |
13 |
|
password => $password, |
14 |
|
} |
15 |
|
|
16 |
file { '/etc/sympa/sympa.conf': |
file { '/etc/sympa/sympa.conf': |
17 |
ensure => present, |
ensure => present, |
18 |
# 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 |
37 |
webapp_file => "sympa/webapp_sympa.conf", |
webapp_file => "sympa/webapp_sympa.conf", |
38 |
} |
} |
39 |
|
|
40 |
apache::vhost_other_app { "ml.$domain": |
apache::vhost_other_app { "ml.$domain": |
41 |
vhost_file => "sympa/vhost_ml.conf", |
vhost_file => "sympa/vhost_ml.conf", |
42 |
} |
} |
43 |
|
|
44 |
|
@@postgresql::database { 'sympa': |
45 |
|
description => "Sympa database", |
46 |
|
user => "sympa", |
47 |
|
require => Postgresql::User["sympa"] |
48 |
|
} |
49 |
|
|
50 |
|
|
51 |
} |
} |
52 |
|
|