From a3a24fa5b96dbb5962872a1e3fba60a389b93ced Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 11:54:36 +0000 Subject: - use the new type for remote database declaration --- modules/bugzilla/manifests/init.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/bugzilla/manifests/init.pp') diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 05153d87..1a8e6c5b 100644 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -17,14 +17,13 @@ class bugzilla { $pgsql_password = extlookup("bugzilla_pgsql",'x') $ldap_password = extlookup("bugzilla_ldap",'x') - @@postgresql::user { 'bugs': + postgresql::remote_user { 'bugs': password => $pgsql_password, } - @@postgresql::database { 'bugs': + postgresql::remote_database { 'bugs': description => "Bugzilla database", user => "bugs", - require => Postgresql::User['bugs'] } file { '/etc/bugzilla/localconfig': -- cgit v1.2.1