diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-08 11:54:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-08 11:54:36 +0000 |
commit | a3a24fa5b96dbb5962872a1e3fba60a389b93ced (patch) | |
tree | d5ada3afc238956a8a171e4d11c7fb8acfdcdacd /modules/bugzilla/manifests | |
parent | 758ad2e2ab8aca629336fd3c880a310e020c553b (diff) | |
download | puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.gz puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.bz2 puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.tar.xz puppet-a3a24fa5b96dbb5962872a1e3fba60a389b93ced.zip |
- use the new type for remote database declaration
Diffstat (limited to 'modules/bugzilla/manifests')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 5 |
1 files changed, 2 insertions, 3 deletions
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': |