From 491f81e3a43ec3429be5d6c79ceda98674dbe62d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 22 Mar 2011 17:43:44 +0000 Subject: use the new type for user and database declaration ( will be used later for pg access list ) --- modules/bugzilla/manifests/init.pp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'modules/bugzilla') 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': -- cgit v1.2.1