Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Make default of NeutronDefaultAvailabilityZones empty array
Browse files Browse the repository at this point in the history
NeutronDefaultAvailabilityZones is of type comma_delimited_list
therefore the default need to be [] instead of ''. Right now
the condition checks for empty string which is not the case
for comma_delimited_list and the hieradata covered by the
az_unset condition get always set.

Closes-Bug: #1934970

Change-Id: I0e1f7eed0ffe751fa54682103051ad29c08c1517
  • Loading branch information
stuggi committed Jul 8, 2021
1 parent 41ef4ba commit f276e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/neutron/neutron-api-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ parameters:
be used by Neutron if its resource is created without
availability zone hints. If not set, no AZs will be configured
for Neutron network services.
default: ''
default: []
type: comma_delimited_list
NeutronNetworkSchedulerDriver:
description: The network schedule driver to use for avialability zones.
Expand Down Expand Up @@ -212,7 +212,7 @@ conditions:
neutron_dvr_set:
not: {equals : [{get_param: NeutronEnableDVR}, '']}
az_set:
not: {equals: [{get_param: NeutronDefaultAvailabilityZones}, '']}
not: {equals: [{get_param: NeutronDefaultAvailabilityZones}, []]}
ovn_and_tls:
and:
- contains: ['ovn', {get_param: NeutronMechanismDrivers}]
Expand Down

0 comments on commit f276e7a

Please sign in to comment.