Separate prod and stg.
This commit is contained in:
parent
c122890cf0
commit
bf667ab460
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,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'] %}
|
||||||
{% if 'wsgi_fedmsg_service' in hostvars[host] %}
|
{% 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(wsgi_procs * wsgi_threads) %}
|
{% for i in range(wsgi_procs * wsgi_threads) %}
|
||||||
"tcp://{{host}}:30{{'%02d' % i}}",
|
"tcp://{{host}}:30{{'%02d' % i}}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue