aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-06-06 12:26:23 -0400
committerEmilien Macchi <emilien@redhat.com>2016-06-17 21:29:12 +0000
commitb572e6a1eb0f18dd215cbc51507e499407b669bc (patch)
tree5165b9b885b3e5ca6257f4560022e1f7b12109a4 /manifests
parentaa2e4c78ac0a5c86d978662729ad3c5e12e686ad (diff)
Deploy nova::db classes in api profile
Move nova::db classes from THT to puppet-tripleo in Nova API profile. Implements: blueprint refactor-puppet-manifests Change-Id: I4fc3cb822822adc1c58b2cfa2de8584a73fa6427
Diffstat (limited to 'manifests')
-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 cb8d3f2..bd4055b 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,