From 7ce6c4a2d3920f502b9f02e841a651bd0819915b Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 11 Oct 2012 03:32:17 -0400 Subject: Make service naming in ipa-server-install consistent Forces more consistency into ipa-server-install output. All descriptions of services that are not instances of SimpleServiceInstance are now in the following format: () Furthermore, start_creation method has been modified to support custom start and end messages. See documentation for more info. https://fedorahosted.org/freeipa/ticket/3059 --- ipaserver/install/ntpinstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipaserver/install/ntpinstance.py') diff --git a/ipaserver/install/ntpinstance.py b/ipaserver/install/ntpinstance.py index e1b72dda..5fbe21df 100644 --- a/ipaserver/install/ntpinstance.py +++ b/ipaserver/install/ntpinstance.py @@ -26,7 +26,7 @@ from ipapython.ipa_log_manager import * class NTPInstance(service.Service): def __init__(self, fstore=None): - service.Service.__init__(self, "ntpd") + service.Service.__init__(self, "ntpd", service_desc="NTP daemon") if fstore: self.fstore = fstore @@ -155,7 +155,7 @@ class NTPInstance(service.Service): self.step("configuring ntpd to start on boot", self.__enable) self.step("starting ntpd", self.__start) - self.start_creation("Configuring ntpd") + self.start_creation() def uninstall(self): if self.is_configured(): -- cgit