summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-02-11 13:07:19 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-17 16:03:09 -0500
commite0fe7323187df205c0994cc3fa4e0ee0b6445788 (patch)
treea9ce7b1211174ef064004f2e4e547d05c94562b4 /ipaserver/plugins
parent0e6e11d2e3836f9667f1c5beda4487dbbeffc25b (diff)
downloadfreeipa-e0fe7323187df205c0994cc3fa4e0ee0b6445788.tar.gz
freeipa-e0fe7323187df205c0994cc3fa4e0ee0b6445788.tar.xz
freeipa-e0fe7323187df205c0994cc3fa4e0ee0b6445788.zip
Added env.enable_ra variable and change cert.py and ra.py plugin modules to register plugins conditionally
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/ra.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/plugins/ra.py b/ipaserver/plugins/ra.py
index 9932e09ca..622e4d9fe 100644
--- a/ipaserver/plugins/ra.py
+++ b/ipaserver/plugins/ra.py
@@ -418,4 +418,5 @@ class ra(Backend):
# self.debug("IPA-RA: stderr: '%s'" % stderr)
return (p.returncode, stdout, stderr)
-api.register(ra)
+if api.env.enable_ra:
+ api.register(ra)