Make updaters zone key optional
This commit is contained in:
parent
eab820a60a
commit
3200fe522a
1 changed files with 3 additions and 1 deletions
|
@ -108,9 +108,11 @@ zone:
|
|||
{% for replica in zone.replicas %}
|
||||
acl: acl-xfr-{{ replica }}
|
||||
{% endfor %}
|
||||
{% for updater in zone.updaters | default([]) %}
|
||||
{% if 'updaters' in zone %}
|
||||
{% for updater in zone.updaters %}
|
||||
acl: acl-update-{{ updater }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for replica in zone.replicas %}
|
||||
notify: remote-{{ replica }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue