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 %}
|
{% for replica in zone.replicas %}
|
||||||
acl: acl-xfr-{{ replica }}
|
acl: acl-xfr-{{ replica }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for updater in zone.updaters | default([]) %}
|
{% if 'updaters' in zone %}
|
||||||
|
{% for updater in zone.updaters %}
|
||||||
acl: acl-update-{{ updater }}
|
acl: acl-update-{{ updater }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% for replica in zone.replicas %}
|
{% for replica in zone.replicas %}
|
||||||
notify: remote-{{ replica }}
|
notify: remote-{{ replica }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue