From d6712e45e3db06b354a9f6ee46e237d5c40caff6 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 26 Sep 2016 12:48:49 -0400 Subject: Move db syncs into mysql base role This patch moves the various DB syncs into the MySQL role. Database creation needs to occur on the MySQL server to avoid permission issues. This patch also moves database creation to step 2 so we can guarantee that all per-service databases exist at this time. This avoids complex ordering needed during step 3 where services, on different hosts, can run their own db sync's in a distributed fashion. Change-Id: I05cc0afa9373429a3197c194c3e8f784ae96de5f Partial-bug: #1620595 --- manifests/profile/base/mistral.pp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'manifests/profile/base/mistral.pp') diff --git a/manifests/profile/base/mistral.pp b/manifests/profile/base/mistral.pp index 3ebc3d5..9986d22 100644 --- a/manifests/profile/base/mistral.pp +++ b/manifests/profile/base/mistral.pp @@ -42,10 +42,6 @@ class tripleo::profile::base::mistral ( $sync_db = false } - if $step >= 3 and $sync_db { - include ::mistral::db::mysql - } - if $step >= 4 or ($step >= 3 and $sync_db) { class { '::mistral': rabbit_hosts => $rabbit_hosts, -- cgit 1.2.3-korg