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/httpinstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipaserver/install/httpinstance.py') diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py index 29077367..5c35b5cd 100644 --- a/ipaserver/install/httpinstance.py +++ b/ipaserver/install/httpinstance.py @@ -52,7 +52,7 @@ class WebGuiInstance(service.SimpleServiceInstance): class HTTPInstance(service.Service): def __init__(self, fstore = None): - service.Service.__init__(self, "httpd") + service.Service.__init__(self, "httpd", service_desc="the web interface") if fstore: self.fstore = fstore else: @@ -99,7 +99,7 @@ class HTTPInstance(service.Service): self.step("restarting httpd", self.__start) self.step("configuring httpd to start on boot", self.__enable) - self.start_creation("Configuring the web interface", 60) + self.start_creation(runtime=60) def __start(self): self.backup_state("running", self.is_running()) -- cgit