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
This commit is contained in:
Carlos Camacho 2016-08-09 16:22:50 +02:00
parent 689d80e971
commit 21bb7e4ac1
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
}
}

View File

@ -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
}

View File

@ -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
}
}