Modified: puppet/modules/bugzilla/manifests/init.pp
===================================================================
--- puppet/modules/bugzilla/manifests/init.pp 2010-12-15 12:24:47 UTC (rev 625)
+++ puppet/modules/bugzilla/manifests/init.pp 2010-12-15 12:24:48 UTC (rev 626)
@@ -9,6 +9,16 @@
$pgsql_password = extlookup("bugzilla_pgsql",'x')
$ldap_password = extlookup("bugzilla_ldap",'x')
+ @@postgresql::user { 'bugs':
+ password => $pgsql_password,
+ }
+
+ @@postgresql::database { 'bugs':
+ description => "Bugzilla database",
+ user => "bugs",
+ require => Postgresql::User['bugs']
+ }
+
file { '/etc/bugzilla/localconfig':
ensure => present,
owner => root,