From a3a24fa5b96dbb5962872a1e3fba60a389b93ced Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 11:54:36 +0000 Subject: - use the new type for remote database declaration --- modules/sympa/manifests/init.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/sympa') 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": -- cgit v1.2.1