summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2012-10-11 03:32:17 -0400
committerRob Crittenden <rcritten@redhat.com>2012-10-22 21:37:11 -0400
commit7ce6c4a2d3920f502b9f02e841a651bd0819915b (patch)
tree6b7857dab880cd5684f3952ef899013f0c00151f /ipaserver/install/bindinstance.py
parent7e3c5e3283ff9fa873691c2c2fccbfd304c1b7c7 (diff)
downloadfreeipa-7ce6c4a2d3920f502b9f02e841a651bd0819915b.tar.gz
freeipa-7ce6c4a2d3920f502b9f02e841a651bd0819915b.tar.xz
freeipa-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/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index f43a9ff0f..39063294d 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -409,7 +409,12 @@ class DnsBackup(object):
class BindInstance(service.Service):
def __init__(self, fstore=None, dm_password=None):
- service.Service.__init__(self, "named", dm_password=dm_password, ldapi=False, autobind=service.DISABLED)
+ service.Service.__init__(self, "named",
+ service_desc="DNS",
+ dm_password=dm_password,
+ ldapi=False,
+ autobind=service.DISABLED
+ )
self.dns_backup = DnsBackup(self)
self.named_user = None
self.domain = None
@@ -505,7 +510,7 @@ class BindInstance(service.Service):
self.step("configuring named to start on boot", self.__enable)
self.step("changing resolv.conf to point to ourselves", self.__setup_resolv_conf)
- self.start_creation("Configuring named:")
+ self.start_creation()
def __start(self):
try: