ipaclient_setup_ntp: Fixed NTP config for FreeIPA versions without sync_time

The old name ntpconf has been still used in one place of the NTP
configuration for FreeIPA versions that do not provide the sync_time
function.

Fixes: #76 (Ansible Configure NTP Task)
This commit is contained in:
Thomas Woerner
2019-04-26 12:50:34 +02:00
parent 81916b4528
commit c18b777141

View File

@@ -154,7 +154,7 @@ def main():
ntp_servers = options.ntp_servers
for s in ntp_servers:
synced_ntp = ntpconf.synconce_ntp(s, options.debug)
synced_ntp = timeconf.synconce_ntp(s, options.debug)
if synced_ntp:
break