aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
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/bugzilla
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/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':