Make updaters zone key optional

This commit is contained in:
s3lph 2021-02-05 21:50:05 +01:00
parent eab820a60a
commit 3200fe522a

View file

@ -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 %}