summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/service.py
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-06-12 17:02:09 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-15 13:51:48 +0200
commit567f00a59c53aca760336aea95423368ac621032 (patch)
treecddb9e0b7c2ca9e87feb47a5c147bf8542151cab /ipaserver/install/service.py
parent905db92e61c2e56f8cce723e9c9d28e7968eccc4 (diff)
downloadfreeipa-567f00a59c53aca760336aea95423368ac621032.tar.gz
freeipa-567f00a59c53aca760336aea95423368ac621032.tar.xz
freeipa-567f00a59c53aca760336aea95423368ac621032.zip
Add NTP to the list of services stored in IPA masters LDAP subtree
IPA masters can be configured as NTP servers but the status of this service can not be determined centrally from querying relevant LDAP subtree. This patch makes IPA master and replica publish the newly configured NTP service in their service container during installation. If the master was configured as NTP server, the NTP service entry will be created upon upgrade. https://fedorahosted.org/freeipa/ticket/5815 https://fedorahosted.org/freeipa/ticket/5826 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/service.py')
-rw-r--r--ipaserver/install/service.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py
index 40767acd5..cdd4354df 100644
--- a/ipaserver/install/service.py
+++ b/ipaserver/install/service.py
@@ -41,6 +41,7 @@ SERVICE_LIST = {
'MEMCACHE': ('ipa_memcached', 39),
'HTTP': ('httpd', 40),
'KEYS': ('ipa-custodia', 41),
+ 'NTP': ('ntpd', 45),
'CA': ('pki-tomcatd', 50),
'KRA': ('pki-tomcatd', 51),
'ADTRUST': ('smb', 60),