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/mga-mirrors | |
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/mga-mirrors')
-rw-r--r-- | modules/mga-mirrors/manifests/init.pp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp index 4b55904f..9fea4cad 100644 --- a/modules/mga-mirrors/manifests/init.pp +++ b/modules/mga-mirrors/manifests/init.pp @@ -13,14 +13,13 @@ class mga-mirrors { $pgsql_password = extlookup("mga_mirror_pgsql",'x') - @@postgresql::user { 'mirrors': + postgresql::remote_user { 'mirrors': password => $pgsql_password, } - @@postgresql::database { 'mirrors': + postgresql::remote_database { 'mirrors': description => "Mirrors database", user => "mirrors", - require => Postgresql::User['mirrors'] } file { "mga-mirrors.ini": |