ansible/roles/fedimg/templates/fedmsg.d/fedimg.py
Sayan Chowdhury e70ba90841 fedimg: Remove the configuration related to staging
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2018-04-05 22:06:57 +00:00

36 lines
1.2 KiB
Python

# This file is part of fedimg.
# Copyright (C) 2014 Red Hat, Inc.
#
# fedimg is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# fedimg is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with fedimg; if not, see http://www.gnu.org/licenses,
# or write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# Authors: David Gay <dgay@redhat.com>
# Ralph Bean <rbean@redhat.com>
# Sayan Chowdhury <sayan@redhat.com>
#
{% if env == 'staging' %}
config = {
'fedimgconsumer.dev.enabled': False,
'fedimgconsumer.prod.enabled': False,
'fedimgconsumer.stg.enabled': True,
}
{% else %}
config = {
'fedimgconsumer.dev.enabled': False,
'fedimgconsumer.prod.enabled': True,
'fedimgconsumer.stg.enabled': False,
}
{% endif %}