summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-27 06:02:50 +0000
committerGerrit Code Review <review@openstack.org>2017-06-27 06:02:50 +0000
commit3fcafacc1e3de1c3fad756135889f2f4a3c4fbe2 (patch)
tree88637b113b7051a7c8a337ae57f976581f815a19 /manifests/profile/base
parentd5ac6b70f2f6048b4846fa539aa4e870bed6c201 (diff)
parent5097c9d6d12231a6adcfc627e67901050e6e0ae2 (diff)
Merge "MySQL: configure ::zaqar::db::mysql selectively"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/database/mysql.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/profile/base/database/mysql.pp b/manifests/profile/base/database/mysql.pp
index ef5f05d..fbb8b11 100644
--- a/manifests/profile/base/database/mysql.pp
+++ b/manifests/profile/base/database/mysql.pp
@@ -220,6 +220,10 @@ class tripleo::profile::base::database::mysql (
if hiera('ec2_api_enabled', false) {
include ::ec2api::db::mysql
}
+ if hiera('zaqar_enabled', false) and hiera('zaqar::db::mysql::user', '') == 'zaqar' {
+ # NOTE: by default zaqar uses mongodb
+ include ::zaqar::db::mysql
+ }
}
}