aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r--modules/mga-mirrors/manifests/init.pp5
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":