Modified: puppet/modules/mga-mirrors/manifests/init.pp
===================================================================
--- puppet/modules/mga-mirrors/manifests/init.pp 2010-12-15 12:24:46 UTC (rev 624)
+++ puppet/modules/mga-mirrors/manifests/init.pp 2010-12-15 12:24:47 UTC (rev 625)
@@ -12,6 +12,16 @@
}
$pgsql_password = extlookup("mga_mirror_pgsql",'x')
+
+ @@postgresql::user { 'mirrors':
+ password => $pgsql_password,
+ }
+
+ @@postgresql::database { 'mirrors':
+ description => "Mirrors database",
+ user => "mirrors",
+ require => Postgresql::User['mirrors']
+ }
file { "mga-mirrors.ini":
path => "/etc/mga-mirrors.ini",