Allow openstack_citest 'grant option' privilege
The old version of the puppet mysql module defined the "all" privilege as all the columns in the *_priv rows in the "db" table of the "mysql" database, which included "Grant_priv". The new version simply uses the normal MySQL API, which defines the "all" privilege as "Grant all privileges at specified access level except GRANT OPTION". In order to get back the old behavior of grant permissions on single use slaves we use the options parameter with ['GRANT']. Change-Id: I93b9375de916ca701399aee03dfaa9ab4d197319
This commit is contained in:
parent
a43847a117
commit
c7466dea40
@ -62,6 +62,7 @@ class openstack_project::slave_db(
|
||||
if ($all_mysql_privs == true) {
|
||||
mysql_grant { 'openstack_citest@localhost/*.*':
|
||||
privileges => ['all'],
|
||||
options => ['GRANT'],
|
||||
user => 'openstack_citest@localhost',
|
||||
table => '*.*',
|
||||
require => Mysql_user['openstack_citest@localhost'],
|
||||
|
Loading…
Reference in New Issue
Block a user