pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0017-Use-server-API-in-com.redhat.idm.trust-fetch-domains.patch

403b09
From c5f48cd10b9aa3f0dd226aacab8abd8af996c861 Mon Sep 17 00:00:00 2001
403b09
From: Martin Babinsky <mbabinsk@redhat.com>
403b09
Date: Thu, 14 Jul 2016 09:31:22 +0200
403b09
Subject: [PATCH] Use server API in com.redhat.idm.trust-fetch-domains oddjob
403b09
 helper
403b09
403b09
https://fedorahosted.org/freeipa/ticket/6082
403b09
403b09
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
403b09
---
403b09
 install/oddjob/com.redhat.idm.trust-fetch-domains | 2 +-
403b09
 1 file changed, 1 insertion(+), 1 deletion(-)
403b09
403b09
diff --git a/install/oddjob/com.redhat.idm.trust-fetch-domains b/install/oddjob/com.redhat.idm.trust-fetch-domains
403b09
index a6b87cde917cfa5bfedf28442a6d1b2b512706f9..7c948fd53bd54bf3638ef3cc4407576b9011f4fb 100755
403b09
--- a/install/oddjob/com.redhat.idm.trust-fetch-domains
403b09
+++ b/install/oddjob/com.redhat.idm.trust-fetch-domains
403b09
@@ -76,7 +76,7 @@ env._bootstrap(debug=options.debug, log=None)
403b09
 env._finalize_core(**dict(DEFAULT_CONFIG))
403b09
 
403b09
 # Initialize the API with the proper debug level
403b09
-api.bootstrap(debug=env.debug, log=None)
403b09
+api.bootstrap(in_server=True, debug=env.debug, log=None)
403b09
 api.finalize()
403b09
 
403b09
 # Only import trust plugin after api is initialized or internal imports
403b09
-- 
403b09
2.7.4
403b09