From 9a6cd717772ce0f68992662c38c38c315291897f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 21 Jul 2014 16:47:58 +0200 Subject: [PATCH] Fix the FAS url in stg --- roles/notifs/backend/templates/fmn.consumer.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 0a22540dac..a524f8e35d 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -48,10 +48,19 @@ config = { # The notification backend uses this to build a fas cache of ircnicks # to fas usernames so it can act appropriately on certain message types. + {% if env == 'staging' %} + "fas_credentials": { + "username": "{{fedoraDummyUser}}", + "password": "{{fedoraDummyUserPassword}}", + "base_url": "https://admin.stg.fedoraproject.org/accounts", + }, + {% else %} "fas_credentials": { "username": "{{fedoraDummyUser}}", "password": "{{fedoraDummyUserPassword}}", }, + {% endif %} + ## Backend stuff ## "fmn.backends": ["email", "irc"], # android is disabled.