diff options
| author | Michael Simacek <msimacek@redhat.com> | 2016-04-18 09:59:23 +0200 |
|---|---|---|
| committer | Michael Simacek <msimacek@redhat.com> | 2016-04-18 09:59:23 +0200 |
| commit | ef63b3047a909b8021fa27d6ce58b779eaa53a62 (patch) | |
| tree | 9009f64bb95af476702f2d43d7e5c540ddf4b0b4 /roles/fedmsg/base/templates | |
| parent | df38c6b8633bf7d17271f9ade0ff23616b98619b (diff) | |
| download | ansible-ef63b3047a909b8021fa27d6ce58b779eaa53a62.tar.gz ansible-ef63b3047a909b8021fa27d6ce58b779eaa53a62.tar.xz ansible-ef63b3047a909b8021fa27d6ce58b779eaa53a62.zip | |
Try to fix koschei-backend-stg fedmsg endpoint
Diffstat (limited to 'roles/fedmsg/base/templates')
| -rw-r--r-- | roles/fedmsg/base/templates/endpoints.py.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/fedmsg/base/templates/endpoints.py.j2 b/roles/fedmsg/base/templates/endpoints.py.j2 index 08ae82866..68ae90d71 100644 --- a/roles/fedmsg/base/templates/endpoints.py.j2 +++ b/roles/fedmsg/base/templates/endpoints.py.j2 @@ -52,10 +52,17 @@ config = dict( # service (koschei-watcher) can both send and receive them. The wsgi # webapp doesn't use fedmsg at all and all services are single-threaded # koschei-watcher uses two endpoints +{% if env != 'staging' %} "koschei.koschei01": [ "tcp://koschei01.%s:30%02i" % (suffix, i) for i in range(4) ], +{% else %} + "koschei.koschei-backend01": [ + "tcp://koschei-backend01.%s:30%02i" % (suffix, i) + for i in range(4) + ], +{% endif %} # koji is not listed here since it publishes to the fedmsg-relay |
