1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{% if env == 'staging' %} suffix = 'stg.phx2.fedoraproject.org' {% else %} suffix = 'phx2.fedoraproject.org' {% endif %} config = dict( endpoints={ "hotness.hotness01": [ "tcp://hotness01.%s:3000" % suffix, "tcp://hotness01.%s:3001" % suffix, "tcp://hotness01.%s:3002" % suffix, "tcp://hotness01.%s:3003" % suffix, ], }, )