Restore dynamic fedmsg endpoints experiment.

Revert "Hold off on that.."

This reverts commit 9f5fd276e2.
This commit is contained in:
Ralph Bean 2015-06-16 19:21:50 +00:00
parent cf5884a2fd
commit c680e56767
8 changed files with 46 additions and 26 deletions

View file

@ -40,6 +40,13 @@
{% endfor %}
{% endif %}
# if the host declares a fedmsg-enabled wsgi app, open ports for it
{% if fedmsg_wsgi_service is defined %}
{% for i in range(wsgi_procs * wsgi_threads) %}
-A INPUT -p tcp -m tcp --dport 30{{ '%02d' % i }} -j ACCEPT
{% endfor %}
{% endif %}
# if the host/group defines incoming tcp_ports - allow them
{% if tcp_ports is defined %}
{% for port in tcp_ports %}