590d18
From c6c3ee0658fcda223bd98fed8d696bdb26add4ac Mon Sep 17 00:00:00 2001
590d18
From: Christian Heimes <cheimes@redhat.com>
590d18
Date: Thu, 23 Jul 2015 18:22:19 +0200
590d18
Subject: [PATCH] certprofile-import: improve profile format documentation
590d18
590d18
The certprofile-import plugin expects a raw Dogtag config file. The XML
590d18
format is not supported. --help gives a hint about the correct file format.
590d18
590d18
https://fedorahosted.org/freeipa/ticket/5089
590d18
590d18
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
590d18
---
590d18
 ipalib/plugins/certprofile.py | 2 +-
590d18
 1 file changed, 1 insertion(+), 1 deletion(-)
590d18
590d18
diff --git a/ipalib/plugins/certprofile.py b/ipalib/plugins/certprofile.py
590d18
index b0b76ca8e78f2482b5c08dad21d9161fd4c2c2d0..658fbca3b4eb851eb5a22190c443044f6ceb8491 100644
590d18
--- a/ipalib/plugins/certprofile.py
590d18
+++ b/ipalib/plugins/certprofile.py
590d18
@@ -221,7 +221,7 @@ class certprofile_import(LDAPCreate):
590d18
     msg_summary = _('Imported profile "%(value)s"')
590d18
     takes_options = (
590d18
         File('file',
590d18
-            label=_('Filename'),
590d18
+            label=_('Filename of a raw profile. The XML format is not supported.'),
590d18
             cli_name='file',
590d18
             flags=('virtual_attribute',),
590d18
         ),
590d18
-- 
590d18
2.4.3
590d18