conditionalize it to work for phx2 or vpn - may need more conditionalizing later

This commit is contained in:
Seth Vidal 2013-06-03 21:03:58 +00:00
parent c99de8ce70
commit 40114f9b6e

View file

@ -1,8 +1,12 @@
pam_url:
am_url:
{
settings:
{
{% if datacenter == 'phx2' %}
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
{% else %}
url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch
{% endif %}
returncode = "OK"; # The remote script/cgi should return a 200 http code and this string as its only results
userfield = "user"; # userfield name to send
passwdfield = "token"; # passwdfield name to send