From 674c930093b5bb3555b51b9d9c71565bfb3c4162 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 13 Oct 2016 15:46:47 +0000 Subject: [PATCH] Enable FAS -> IPA sync in production Signed-off-by: Patrick Uiterwijk --- roles/fas_server/templates/fas.cfg.j2 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/fas_server/templates/fas.cfg.j2 b/roles/fas_server/templates/fas.cfg.j2 index b554683c87..a304b25d28 100644 --- a/roles/fas_server/templates/fas.cfg.j2 +++ b/roles/fas_server/templates/fas.cfg.j2 @@ -57,19 +57,20 @@ country_blacklist = ["--", "A1", "A2", "AN", "AS", "AX", "BI", "BL", "BV", "CC", tgcaptcha2.key = '{{ fasCaptchaSecret }}' tgcaptcha2.jpeg_generator = 'vanasco_dowty' -{% if env == "staging" %} ### ### IPA Sync settings ### ipa_sync_enabled = True -ipa_sync_server = 'ipa01.stg.phx2.fedoraproject.org' -ipa_sync_principal = 'fas_sync@STG.FEDORAPROJECT.ORG' ipa_sync_keytab = '/etc/fas_sync_keytab' ipa_sync_certfile = '/etc/fas_sync_cert.pem' - +{% if env == "staging" %} +ipa_sync_principal = 'fas_sync@STG.FEDORAPROJECT.ORG' +ipa_sync_server = 'ipa01.stg.phx2.fedoraproject.org' {% else %} -ipa_sync_enabled = False +ipa_sync_principal = 'fas_sync@FEDORAPROJECT.ORG' +ipa_sync_server = 'ipa01.phx2.fedoraproject.org' {% endif %} + ### ### Administrative settings ###