diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-08 11:54:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-08 11:54:36 +0000 |
commit | a3a24fa5b96dbb5962872a1e3fba60a389b93ced (patch) | |
tree | d5ada3afc238956a8a171e4d11c7fb8acfdcdacd /modules/sympa/manifests | |
parent | 758ad2e2ab8aca629336fd3c880a310e020c553b (diff) | |
download | puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.gz puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.bz2 puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.xz puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.zip |
- use the new type for remote database declaration
Diffstat (limited to 'modules/sympa/manifests')
-rw-r--r-- | modules/sympa/manifests/init.pp | 5 |
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": |