From 21bb7e4ac1051d28bb83de522f3cc6f79c0445e2 Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Tue, 9 Aug 2016 16:22:50 +0200 Subject: Fix mistral sync_db profile steps The services in the mistral profiles were limited to be executed only in the bootstrap master node. Change-Id: Iae42ffa37c4c9b1e070b7c3753e04c45bb97703f --- manifests/profile/base/mistral.pp | 2 +- manifests/profile/base/mistral/api.pp | 2 +- manifests/profile/base/mistral/engine.pp | 2 +- manifests/profile/base/mistral/executor.pp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests/profile/base') diff --git a/manifests/profile/base/mistral.pp b/manifests/profile/base/mistral.pp index febbae6..0c41193 100644 --- a/manifests/profile/base/mistral.pp +++ b/manifests/profile/base/mistral.pp @@ -41,7 +41,7 @@ class tripleo::profile::base::mistral ( include ::mistral::db::mysql } - if $step >= 4 and $sync_db { + if $step >= 4 or ($step >= 3 and $sync_db) { include ::mistral include ::mistral::config include ::mistral::client diff --git a/manifests/profile/base/mistral/api.pp b/manifests/profile/base/mistral/api.pp index aeff788..50708f1 100644 --- a/manifests/profile/base/mistral/api.pp +++ b/manifests/profile/base/mistral/api.pp @@ -39,7 +39,7 @@ class tripleo::profile::base::mistral::api ( include ::tripleo::profile::base::mistral - if $step >= 4 and $sync_db { + if $step >= 4 or ($step >= 3 and $sync_db) { include ::mistral::api } } diff --git a/manifests/profile/base/mistral/engine.pp b/manifests/profile/base/mistral/engine.pp index cf82237..b2d8864 100644 --- a/manifests/profile/base/mistral/engine.pp +++ b/manifests/profile/base/mistral/engine.pp @@ -39,7 +39,7 @@ class tripleo::profile::base::mistral::engine ( include ::tripleo::profile::base::mistral - if $step >= 4 and $sync_db { + if $step >= 4 or ($step >= 3 and $sync_db) { include ::mistral::engine } diff --git a/manifests/profile/base/mistral/executor.pp b/manifests/profile/base/mistral/executor.pp index dd8c642..8e3f2c9 100644 --- a/manifests/profile/base/mistral/executor.pp +++ b/manifests/profile/base/mistral/executor.pp @@ -39,7 +39,7 @@ class tripleo::profile::base::mistral::executor ( include ::tripleo::profile::base::mistral - if $step >= 4 and $sync_db { + if $step >= 4 or ($step >= 3 and $sync_db) { include ::mistral::executor } } -- cgit 1.2.3-korg