Bug fix: Parenthesis needed when using ternary
neutron_fwaas and neutron_fwaas_v2 where always false. When using
ternary, the condition must be inside parenthesis
Change-Id: Ifa33e5aedd06e1c0cc44d03354d56de18db46932
Signed-off-by: Manuel Buil <mbuil@suse.com>
(cherry picked from commit cb25b3cc59
)
This commit is contained in:
parent
4bbb681632
commit
66dd1821db
|
@ -294,8 +294,8 @@ neutron_metadata: "{% if neutron_plugin_type.split('.')[0] == 'ml2' %}True{% els
|
|||
###
|
||||
|
||||
# Please add the 'firewall' to the neutron_plugin_base list
|
||||
neutron_fwaas: "{{ 'firewall' in neutron_plugin_base | ternary('True', 'False') }}"
|
||||
neutron_fwaas_v2: "{{ 'firewall_v2' in neutron_plugin_base | ternary('True', 'False') }}"
|
||||
neutron_fwaas: "{{ ('firewall' in neutron_plugin_base) | ternary('True', 'False') }}"
|
||||
neutron_fwaas_v2: "{{ ('firewall_v2' in neutron_plugin_base) | ternary('True', 'False') }}"
|
||||
|
||||
###
|
||||
### LBaaS Plugin Configuration
|
||||
|
|
Loading…
Reference in New Issue