aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-20 18:09:19 +0000
committerGerrit Code Review <review@openstack.org>2016-06-20 18:09:19 +0000
commit14627fe018e6717fd236355fa89b0ef297f0b656 (patch)
treedbbdf122c6e2c1fd50e009a323e46df4df3dc24e /manifests/profile
parentb9f0427926957b3aaa74286288523b46acbd97aa (diff)
parentb572e6a1eb0f18dd215cbc51507e499407b669bc (diff)
Merge "Deploy nova::db classes in api profile"
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/base/nova/api.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/profile/base/nova/api.pp b/manifests/profile/base/nova/api.pp
index b62f4a5..4064b1e 100644
--- a/manifests/profile/base/nova/api.pp
+++ b/manifests/profile/base/nova/api.pp
@@ -33,6 +33,13 @@ class tripleo::profile::base::nova::api (
) {
include ::tripleo::profile::base::nova
+
+ if $step >= 2 and $sync_db {
+ include ::nova::db::mysql
+ include ::nova::db::mysql_api
+ Exec<| title == 'galera-ready'|> -> Anchor['nova::db::begin']
+ }
+
if $step >= 4 or ($step >= 3 and $sync_db) {
class { '::nova::api':
sync_db => $sync_db,