From e16eb2007c0a5fa8bb23e91964cce3832d6f2889 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 12 Jun 2013 16:14:05 +0000 Subject: [PATCH] Try this to fix 2fa on staging hosts. --- files/2fa/pam_url.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/2fa/pam_url.conf.j2 b/files/2fa/pam_url.conf.j2 index ddd1996bad..624d55cb3f 100644 --- a/files/2fa/pam_url.conf.j2 +++ b/files/2fa/pam_url.conf.j2 @@ -4,6 +4,8 @@ pam_url: { {% if datacenter == 'phx2' %} url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch + {% elif staging is defined %} + url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch {% else %} url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch {% endif %}