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

@ -2,7 +2,7 @@
config = dict(
# Set this to dev if you're hacking on fedmsg or an app locally.
# Set to stg or prod if running in the Fedora Infrastructure.
{% if environment == 'staging' %}
{% if environment equals 'staging' %}
environment="stg",
{% else %}
environment="prod",

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)

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 %}
@ -16,7 +16,7 @@ config = dict(
"tcp://app02.%s:301%i" % (suffix, i)
for i in range(6)
],
{% if environment != 'staging' %}
{% if not environment equals 'staging' %}
"pkgdb.app03": [
"tcp://app03.%s:301%i" % (suffix, i)
for i in range(6)

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 %}

View file

@ -1,5 +1,5 @@
{% if environment = 'staging' %}
{% if environment equals 'staging' %}
suffix = "stg.phx2.fedoraproject.org"
app_hosts = [
"app01.stg.phx2.fedoraproject.org",