Merge "Use conditional to set heat-engine workers"

This commit is contained in:
Jenkins 2017-09-26 19:27:02 +00:00 committed by Gerrit Code Review
commit ca05268dcf

View File

@ -69,6 +69,8 @@ parameters:
default: 1000
description: Maximum resources allowed per top-level stack. -1 stands for unlimited.
conditions:
heat_workers_unset: {equals : [{get_param: HeatWorkers}, 0]}
resources:
HeatBase:
@ -93,8 +95,7 @@ outputs:
config_settings:
map_merge:
- get_attr: [HeatBase, role_data, config_settings]
- heat::engine::num_engine_workers: {get_param: HeatWorkers}
heat::engine::configure_delegated_roles: false
- heat::engine::configure_delegated_roles: false
heat::engine::trusts_delegated_roles: []
heat::engine::max_nested_stack_depth: 6
heat::engine::max_resources_per_stack: {get_param: HeatMaxResourcesPerStack}
@ -134,6 +135,11 @@ outputs:
passwords:
- {get_param: HeatAuthEncryptionKey}
- {get_param: [DefaultPasswords, heat_auth_encryption_key]}
-
if:
- heat_workers_unset
- {}
- heat::engine::num_engine_workers: {get_param: HeatWorkers}
step_config: |
include ::tripleo::profile::base::heat::engine