Fun with templates

This commit is contained in:
Kevin Fenzi 2013-06-07 22:02:23 +00:00
parent a49d86841d
commit 6e606f6684
5 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{% if environment == 'staging' %}
{% if environment equals 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
non_phx_suffix = 'stg.fedoraproject.org'
{% else %}
@ -28,7 +28,7 @@ config = dict(
"tcp://releng01.%s:3000" % suffix,
"tcp://releng01.%s:3001" % suffix,
],
{% if environment != 'staging' %}
{% if not environment equals 'staging' %}
"bodhi.app03": [
"tcp://app03.%s:300%i" % (suffix, i)
for i in range(8)