Replace all references to "environment" with "env".

It turns out that "environment" is reserved in ansible.
    See: http://ur1.ca/eb6gp
This commit is contained in:
Ralph Bean 2013-06-13 16:23:30 +00:00
parent 568e6ad0d8
commit 96610bfb4f
7 changed files with 13 additions and 15 deletions

View file

@ -2,14 +2,12 @@
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 env == 'staging' %}
environment="stg",
{% else %}
environment="prod",
{% endif %}
# XXX - the ansible environment var is "${environment}".
# This used to be set to 1 for safety, but it turns out it was
# excessive. It is the number of seconds that fedmsg should sleep
# after it has initialized, but before it begins to try and send any