diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-06-20 18:09:19 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-06-20 18:09:19 +0000 |
commit | 14627fe018e6717fd236355fa89b0ef297f0b656 (patch) | |
tree | dbbdf122c6e2c1fd50e009a323e46df4df3dc24e /manifests/profile/base | |
parent | b9f0427926957b3aaa74286288523b46acbd97aa (diff) | |
parent | b572e6a1eb0f18dd215cbc51507e499407b669bc (diff) |
Merge "Deploy nova::db classes in api profile"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r-- | manifests/profile/base/nova/api.pp | 7 |
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, |