summaryrefslogtreecommitdiffstats
path: root/ipaplatform
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2016-08-05 13:04:19 +0300
committerMartin Basti <mbasti@redhat.com>2016-08-19 15:34:26 +0200
commit7bec8a246d6712f749ec331f5bf066e3357c4ce7 (patch)
treecbb73e447ed63c87c47112e6594b141bf2f74ac1 /ipaplatform
parent86e156c3c5f331e3f169b941be2d9f72e7c8f000 (diff)
downloadfreeipa-7bec8a246d6712f749ec331f5bf066e3357c4ce7.tar.gz
freeipa-7bec8a246d6712f749ec331f5bf066e3357c4ce7.tar.xz
freeipa-7bec8a246d6712f749ec331f5bf066e3357c4ce7.zip
support schema files from third-party plugins
Allow upgrade process to include schema files from third-party plugins installed in /usr/share/ipa/schema.d/*.schema. The directory /usr/shar/eipa/schema.d is owned by the server-common subpackage and therefore third-party plugins should depend on freeipa-server-common (ipa-server-common) package in their package dependencies. Resolves: https://fedorahosted.org/freeipa/ticket/5864 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaplatform')
-rw-r--r--ipaplatform/base/paths.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
index df0a92ff4..f927a7a99 100644
--- a/ipaplatform/base/paths.py
+++ b/ipaplatform/base/paths.py
@@ -355,6 +355,7 @@ class BasePathNamespace(object):
IPA_CUSTODIA_SOCKET = '/run/httpd/ipa-custodia.sock'
IPA_CUSTODIA_AUDIT_LOG = '/var/log/ipa-custodia.audit.log'
IPA_GETKEYTAB = '/usr/sbin/ipa-getkeytab'
+ EXTERNAL_SCHEMA_DIR = '/usr/share/ipa/schema.d'
@property
def USER_CACHE_PATH(self):