aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/manifests')
-rw-r--r--modules/sympa/manifests/init.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 4ea4f37d..a0849f97 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -25,7 +25,7 @@ class sympa {
$pgsql_password = extlookup("sympa_pgsql",'x')
$ldap_password = extlookup("sympa_ldap",'x')
- @@postgresql::user { 'sympa':
+ postgresql::remote_user { 'sympa':
password => $pgsql_password,
}
@@ -61,10 +61,9 @@ class sympa {
content => template("sympa/vhost_ml.conf"),
}
- @@postgresql::database { 'sympa':
+ postgresql::remote_database { 'sympa':
description => "Sympa database",
user => "sympa",
- require => Postgresql::User["sympa"]
}
subversion::snapshot { "/etc/sympa/web_tt2":