From 0eb61564924a130d8f42736b5c691d337f240821 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 10 Mar 2014 20:06:30 +0100 Subject: [PATCH] Use the Third party user to connect to FAS and use fas.stg in stg --- roles/pkgdb2/templates/pkgdb2_admin.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/pkgdb2/templates/pkgdb2_admin.cfg b/roles/pkgdb2/templates/pkgdb2_admin.cfg index 16b0d69f0d..41f13f64e3 100644 --- a/roles/pkgdb2/templates/pkgdb2_admin.cfg +++ b/roles/pkgdb2/templates/pkgdb2_admin.cfg @@ -45,11 +45,15 @@ PKGDB2_BUGZILLA_PASSWORD = None ### FAS information ## URL to the FAS instance to query +{% if env == 'staging' %} +PKGDB2_FAS_URL = 'https://admin.stg.fedoraproject.org/accounts' +{% else %} PKGDB2_FAS_URL = 'https://admin.fedoraproject.org/accounts' +{% endif %} ## name of the user the pkgdb application can log in to FAS with -PKGDB2_FAS_USER = '{{ pkgdb_fas_user }}' +PKGDB2_FAS_USER = '{{ fedorathirdpartyUser }}' ## password of the user the pkgdb application can log in to FAS with -PKGDB2_FAS_PASSWORD = '{{ pkgdb_fas_password }}' +PKGDB2_FAS_PASSWORD = '{{ fedorathirdpartyPassword }}' ### pkgdb notifications