diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-02-11 13:07:19 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-17 16:03:09 -0500 |
commit | e0fe7323187df205c0994cc3fa4e0ee0b6445788 (patch) | |
tree | a9ce7b1211174ef064004f2e4e547d05c94562b4 /ipaserver | |
parent | 0e6e11d2e3836f9667f1c5beda4487dbbeffc25b (diff) | |
download | freeipa-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')
-rw-r--r-- | ipaserver/plugins/ra.py | 3 |
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) |