summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2014-06-12 15:07:41 +0000
committerLuke Macken <lmacken@redhat.com>2014-06-12 15:08:20 +0000
commit080a9cd52f8139cc21560d01ac2c35fb01708ed3 (patch)
tree358290685cf2c560e898e9bf61b0ef32a68b008f
parent0d78cf7ba32f6b8db2def7458265886efd7c5a56 (diff)
downloadansible-080a9cd52f8139cc21560d01ac2c35fb01708ed3.tar.gz
ansible-080a9cd52f8139cc21560d01ac2c35fb01708ed3.tar.xz
ansible-080a9cd52f8139cc21560d01ac2c35fb01708ed3.zip
Use the admin.stg FAS url in the bodhi staging config
-rw-r--r--roles/bodhi/base/templates/bodhi-prod.cfg.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/bodhi/base/templates/bodhi-prod.cfg.j2 b/roles/bodhi/base/templates/bodhi-prod.cfg.j2
index b0b9c8b8f..01798acbf 100644
--- a/roles/bodhi/base/templates/bodhi-prod.cfg.j2
+++ b/roles/bodhi/base/templates/bodhi-prod.cfg.j2
@@ -98,7 +98,11 @@ jobs = 'cache_release_data'
# FAS2
#sqlalchemy.dburi="sqlite:///"
+{% if env == "staging" %}
+fas.url = 'https://admin.stg.fedoraproject.org/accounts/'
+{% else %}
fas.url = 'https://admin.fedoraproject.org/accounts/'
+{% endif %}
identity.provider='jsonfas2'
identity.saprovider.model.visit="fedora.accounts.tgfas.VisitIdentity"
visit.manager="jsonfas2"