Setup zaqar database user
This sets up the Zaqar user for the management database properly. Change-Id: I1f7c9c7e028a6aa51d0f943e73e8f991ec242337
This commit is contained in:
@@ -581,6 +581,15 @@ if str2bool(hiera('enable_validations', true)) {
|
||||
}
|
||||
|
||||
include ::zaqar
|
||||
$zaqar_dsn = split(hiera('zaqar::management::sqlalchemy::uri'), '[@:/?]')
|
||||
class { '::zaqar::db::mysql':
|
||||
user => $zaqar_dsn[3],
|
||||
password => $zaqar_dsn[4],
|
||||
host => $zaqar_dsn[5],
|
||||
dbname => $zaqar_dsn[6],
|
||||
allowed_hosts => $allowed_hosts,
|
||||
}
|
||||
include ::zaqar::db::sync
|
||||
include ::zaqar::management::sqlalchemy
|
||||
include ::zaqar::messaging::swift
|
||||
include ::zaqar::keystone::auth
|
||||
|
||||
Reference in New Issue
Block a user