Grant privs on postgres test DB to test DB user.

Grant ALL priveleges on the Jenkins slave postgres test DB to the
openstack_citest test user.

Change-Id: Ib0f8d2b5ccb90f43de3b41c9838366ae72591ce2
Reviewed-on: https://review.openstack.org/20759
Reviewed-by: Kurt Taylor <krtaylor@us.ibm.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-01-29 15:03:28 -08:00 committed by Jenkins
parent 457a9d8764
commit 121513cee0

View File

@ -208,6 +208,13 @@ class jenkins::slave(
grant => 'all',
require => Class['postgresql::server'],
}
postgresql::database_grant { 'grant_openstack_citest_privs':
privelege => 'ALL',
db => 'openstack_citest',
role => 'openstack_citest',
require => Postgresql::Db['openstack_citest'],
}
}
file { '/usr/local/jenkins':