Try this and see if it works to sort this into a known order.

This commit is contained in:
Kevin Fenzi 2015-12-09 17:54:40 +00:00
parent b5d555e481
commit bf5dc0c192

View file

@ -62,7 +62,7 @@ config = dict(
# Dynamically generate endpoint declarations from our wsgi app vars. # Dynamically generate endpoint declarations from our wsgi app vars.
# Eventually, replace *all* fedmsg endpoint definitions with this one loop # Eventually, replace *all* fedmsg endpoint definitions with this one loop
{% for host in groups['all'] %} {% for host in groups['all']|sort %}
{% if 'wsgi_fedmsg_service' in hostvars[host] and env == hostvars[host]['env'] %} {% if 'wsgi_fedmsg_service' in hostvars[host] and env == hostvars[host]['env'] %}
"{{hostvars[host]['wsgi_fedmsg_service']}}.{{host.split('.')|first}}": [ "{{hostvars[host]['wsgi_fedmsg_service']}}.{{host.split('.')|first}}": [
{% for i in range(hostvars[host]['wsgi_procs'] * hostvars[host]['wsgi_threads']) %} {% for i in range(hostvars[host]['wsgi_procs'] * hostvars[host]['wsgi_threads']) %}