summaryrefslogtreecommitdiffstats
path: root/ipalib/messages.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-10-13 10:48:10 +0200
committerMartin Basti <mbasti@redhat.com>2015-10-22 18:29:44 +0200
commit92a4b18fc282ab7b40899c4885617fc080e9e955 (patch)
tree7fdba4317bd96df4b29486f90fa40500001448c7 /ipalib/messages.py
parent179d86b5f6d4f3297d20a553f4aa723e4f949fce (diff)
downloadfreeipa-92a4b18fc282ab7b40899c4885617fc080e9e955.tar.gz
freeipa-92a4b18fc282ab7b40899c4885617fc080e9e955.tar.xz
freeipa-92a4b18fc282ab7b40899c4885617fc080e9e955.zip
DNSSEC: warn user if DNSSEC key master is not installed
Warning user that DNSSEC key master is not installed when commands dnszone-add, dnszone-mod, dnszone-show when option dnssec=true https://fedorahosted.org/freeipa/ticket/5290 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r--ipalib/messages.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index 3b982f473..a53989b01 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -276,6 +276,18 @@ class KerberosTXTRecordDeletionFailure(PublicMessage):
"Please remove the record manually."
)
+class DNSSECMasterNotInstalled(PublicMessage):
+ """
+ **13013** Used when a DNSSEC is not installed on system (no DNSSEC
+ master server is installed).
+ """
+
+ errno = 13013
+ type = "warning"
+ format = _(
+ "No DNSSEC key master is installed. DNSSEC zone signing will not work "
+ "until the DNSSEC key master is installed."
+ )
def iter_messages(variables, base):
"""Return a tuple with all subclasses