aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 17:43:44 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 17:43:44 +0000
commit491f81e3a43ec3429be5d6c79ceda98674dbe62d (patch)
tree187ab1466c599192397e4c389c859306724c6af3 /modules/mga-mirrors
parent87385d8f2d744d1896be2a4d23321a67473c1fe8 (diff)
downloadpuppet-491f81e3a43ec3429be5d6c79ceda98674dbe62d.tar
puppet-491f81e3a43ec3429be5d6c79ceda98674dbe62d.tar.gz
puppet-491f81e3a43ec3429be5d6c79ceda98674dbe62d.tar.bz2
puppet-491f81e3a43ec3429be5d6c79ceda98674dbe62d.tar.xz
puppet-491f81e3a43ec3429be5d6c79ceda98674dbe62d.zip
use the new type for user and database declaration ( will be used later for pg access list )
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r--modules/mga-mirrors/manifests/init.pp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 9fea4cad..2532f56a 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -13,13 +13,9 @@ class mga-mirrors {
$pgsql_password = extlookup("mga_mirror_pgsql",'x')
- postgresql::remote_user { 'mirrors':
+ postgresql::remote_db_and_user { 'mirrors':
password => $pgsql_password,
- }
-
- postgresql::remote_database { 'mirrors':
description => "Mirrors database",
- user => "mirrors",
}
file { "mga-mirrors.ini":