#5826 Integrate NTP service into server roles: upgrade from older IPA versions
Closed: Fixed None Opened 8 years ago by pspacek.

This is upgrade part of #5815. We need to somehow detect that IPA was installed with NTP and in such case add service entry for NTP server.

Looking at Git tree, commit c2a2ffb introduced text ### Added by IPA Installer ### in /etc/ntp.conf.

Given that the commit was included in IPA 1.9.0 we can use this and infer if NTP was installed or not.

I'm proposing to assume that NTP server is 'managed' by IPA if all following coditions are met:

  • /etc/ntp.conf is present in sysrestore store
  • /etc/ntp.conf contains text ### Added by IPA Installer ###
  • service ntpd is enabled in systemd

AFAIK this should work for all IPA installations >= 1.9.0.


master:

  • 567f00a Add NTP to the list of services stored in IPA masters LDAP subtree
  • 3e6af23 Introduce "NTP server" role

Metadata Update from @pspacek:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4

7 years ago

Login to comment on this ticket.

Metadata