summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-15 16:22:26 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-17 18:05:03 +0200
commit1997733cdf60bbd5fee8a5286d567580fa4e0198 (patch)
tree8c8bd79775728d0fd189e3e2f329089613128af2 /ipalib
parentef12cad30b3fc867b3b09abe6521c168dbc3ceaf (diff)
downloadfreeipa-1997733cdf60bbd5fee8a5286d567580fa4e0198.tar.gz
freeipa-1997733cdf60bbd5fee8a5286d567580fa4e0198.tar.xz
freeipa-1997733cdf60bbd5fee8a5286d567580fa4e0198.zip
DNS Locations: require to restart named-pkcs11 affter location change
Send a warning message that named-pkcs11 service must be restarted after changes related to locations or server weight https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/messages.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index cae9d7867..0f1dc63f2 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -428,6 +428,15 @@ class AutomaticDNSRecordsUpdateFailed(PublicMessage):
)
+class ServiceRestartRequired(PublicMessage):
+ errno = 13025
+ type = "warning"
+ format = _(
+ "Service %(service)s requires restart on IPA server %(server)s to "
+ "apply configuration changes."
+ )
+
+
def iter_messages(variables, base):
"""Return a tuple with all subclasses
"""