From: Emilien Macchi Date: Mon, 6 Jun 2016 16:26:23 +0000 (-0400) Subject: Deploy nova::db classes in api profile X-Git-Tag: opnfv-6.0.0~727^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b572e6a1eb0f18dd215cbc51507e499407b669bc;p=apex-puppet-tripleo.git 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 --- 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,