Give test mysql user create and drop perms.
Give the openstackci_test Jenkins slave test user permissions to CREATE and DROP databases. This allows parallel tests to create as many DB schemas as necessary to run tests without locking in the tests themselves. Change-Id: I0466ac8f318b7dc397fac6c16553e284bdb7d707
This commit is contained in:
parent
eb2723e31d
commit
0e94117fa4
@ -270,6 +270,12 @@ class jenkins::slave(
|
||||
require => Database_user['openstack_citest@localhost'],
|
||||
}
|
||||
|
||||
database_grant { 'openstack_citest@localhost':
|
||||
privileges => ['CREATE', 'DROP'],
|
||||
provider => 'mysql',
|
||||
require => Database_user['openstack_citest@localhost'],
|
||||
}
|
||||
|
||||
# The puppetlabs postgres module does not manage the postgres user
|
||||
# and group for us. Create them here to ensure concat can create
|
||||
# dirs and files owned by this user and group.
|
||||
|
Loading…
x
Reference in New Issue
Block a user