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/plugins/baseupdate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipaserver/install/plugins') diff --git a/ipaserver/install/plugins/baseupdate.py b/ipaserver/install/plugins/baseupdate.py index f91cf5de..a0e08847 100644 --- a/ipaserver/install/plugins/baseupdate.py +++ b/ipaserver/install/plugins/baseupdate.py @@ -45,7 +45,8 @@ class DSRestart(service.Service): def create_instance(self): self.step("stopping directory server", self.stop) self.step("starting directory server", self.start) - self.start_creation("Restarting Directory server to apply updates") + self.start_creation(start_message="Restarting Directory server " + "to apply updates", show_service_name=False) class update(Object): """ -- cgit