From 1997733cdf60bbd5fee8a5286d567580fa4e0198 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 15 Jun 2016 16:22:26 +0200 Subject: 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 --- ipalib/messages.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ipalib/messages.py') 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 """ -- cgit