diff options
author | Tomas Babej <tbabej@redhat.com> | 2012-10-11 03:32:17 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-10-22 21:37:11 -0400 |
commit | 7ce6c4a2d3920f502b9f02e841a651bd0819915b (patch) | |
tree | 6b7857dab880cd5684f3952ef899013f0c00151f /ipaserver/install/plugins | |
parent | 7e3c5e3283ff9fa873691c2c2fccbfd304c1b7c7 (diff) | |
download | freeipa.git-7ce6c4a2d3920f502b9f02e841a651bd0819915b.tar.gz freeipa.git-7ce6c4a2d3920f502b9f02e841a651bd0819915b.tar.xz freeipa.git-7ce6c4a2d3920f502b9f02e841a651bd0819915b.zip |
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:
<Description> (<Service Name>)
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
Diffstat (limited to 'ipaserver/install/plugins')
-rw-r--r-- | ipaserver/install/plugins/baseupdate.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): """ |