aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bugzilla')
-rw-r--r--modules/bugzilla/manifests/init.pp8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 1a8e6c5b..4707b60c 100644
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -17,13 +17,9 @@ class bugzilla {
$pgsql_password = extlookup("bugzilla_pgsql",'x')
$ldap_password = extlookup("bugzilla_ldap",'x')
- postgresql::remote_user { 'bugs':
- password => $pgsql_password,
- }
-
- postgresql::remote_database { 'bugs':
+ postgresql::remote_db_and_user { 'bugs':
description => "Bugzilla database",
- user => "bugs",
+ password => $pgsql_password,
}
file { '/etc/bugzilla/localconfig':