Merge "Allow empty list of enabled_roles"

This commit is contained in:
Zuul 2017-11-28 11:29:21 +00:00 committed by Gerrit Code Review
commit 897a03f0ad
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# certain initialization steps (run in a container) will occur
# on the role marked as primary controller or the first role listed
{%- if enabled_roles is not defined -%}
{%- if enabled_roles is not defined or enabled_roles == [] -%}
# On upgrade certain roles can be disabled for operator driven upgrades
# See major_upgrade_steps.j2.yaml and post-upgrade.j2.yaml
{%- set enabled_roles = roles -%}