Renaming PHX2 -> IAD2 with existing IAD2 conditional template blocks
left some in the form...:
{% if datacenter == 'iad2' %}
...
{% elif datacenter == 'iad2' %}
...
...making the second block a no-op. Remove them.
Follow up to commit 7984b46eb7
Signed-off-by: Nils Philippsen <nils@redhat.com>
26 lines
684 B
Django/Jinja
26 lines
684 B
Django/Jinja
{% if datacenter == 'iad2' %}
|
|
{% if env == 'staging' %}
|
|
suffix = 'stg.iad2.fedoraproject.org'
|
|
{% else %}
|
|
suffix = 'iad2.fedoraproject.org'
|
|
vpn_suffix = 'vpn.fedoraproject.org'
|
|
{% endif %}
|
|
{% else %}
|
|
{% if env == 'staging' %}
|
|
suffix = 'stg.fedoraproject.org'
|
|
{% else %}
|
|
suffix = 'fedoraproject.org'
|
|
vpn_suffix = 'vpn.fedoraproject.org'
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
config = dict(
|
|
endpoints={
|
|
"bugzilla2fedmsg.bugzilla2fedmsg01": [
|
|
"tcp://bugzilla2fedmsg01.%s:3000" % suffix,
|
|
"tcp://bugzilla2fedmsg01.%s:3001" % suffix,
|
|
"tcp://bugzilla2fedmsg01.%s:3002" % suffix,
|
|
"tcp://bugzilla2fedmsg01.%s:3003" % suffix,
|
|
],
|
|
},
|
|
)
|