diff options
author | Carlos Camacho <ccamacho@redhat.com> | 2016-08-09 16:22:50 +0200 |
---|---|---|
committer | Carlos Camacho <ccamacho@redhat.com> | 2016-08-09 16:32:45 +0200 |
commit | 21bb7e4ac1051d28bb83de522f3cc6f79c0445e2 (patch) | |
tree | e6d38b7a4f2401f873ac5a5cc6c358ee2f152582 /manifests/profile/base/mistral | |
parent | 689d80e97188342c84bb965980d48c8ed212e60d (diff) |
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
Diffstat (limited to 'manifests/profile/base/mistral')
-rw-r--r-- | manifests/profile/base/mistral/api.pp | 2 | ||||
-rw-r--r-- | manifests/profile/base/mistral/engine.pp | 2 | ||||
-rw-r--r-- | manifests/profile/base/mistral/executor.pp | 2 |
3 files changed, 3 insertions, 3 deletions
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 } } |