From b572e6a1eb0f18dd215cbc51507e499407b669bc Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 6 Jun 2016 12:26:23 -0400 Subject: 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 --- manifests/profile/base/nova/api.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests/profile/base/nova/api.pp') 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, -- cgit 1.2.3-korg