This commit is contained in:
Ralph Bean 2015-06-16 19:26:08 +00:00
parent afc02b0bb5
commit e7b63b091a

View file

@ -104,8 +104,8 @@ config = dict(
# Dynamically generate endpoint declarations from our wsgi app vars.
# Eventually, replace *all* fedmsg endpoint definitions with this one loop
{% for host in groups['all'] %}
{% if 'fedmsg_wsgi_service' in hostvars[host] %}
"{{hostvars[host]['fedmsg_wsgi_service']}}.{{hostvars[host].split('.')|first}}": [
{% if 'wsgi_fedmsg_service' in hostvars[host] %}
"{{hostvars[host]['wsgi_fedmsg_service']}}.{{hostvars[host].split('.')|first}}": [
{% for i in range(wsgi_procs * wsgi_threads) %}
"tcp://{{host}}:30{{'%02d' % i}}",
{% endfor %}