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:
parent
689d80e971
commit
21bb7e4ac1
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user