Give openstack_citest createdb perms.
The nove postgres unittests need CREATE DATABASE permissions. Give the openstack_citest postgres user this ability. Change-Id: I55f6855dadd0a77f651633c780dd88fcb409a155 Reviewed-on: https://review.openstack.org/21023 Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Kurt Taylor <krtaylor@us.ibm.com> Tested-by: Jenkins
This commit is contained in:
@@ -201,9 +201,11 @@ class jenkins::slave(
|
||||
require => Class['postgresql::params'],
|
||||
}
|
||||
|
||||
# Create DB user and explicitly make it non superuser.
|
||||
# Create DB user and explicitly make it non superuser
|
||||
# that can create databases.
|
||||
postgresql::database_user { 'openstack_citest':
|
||||
password_hash => 'openstack_citest',
|
||||
createdb => true,
|
||||
superuser => false,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user