Skip to content

Commit

Permalink
ipaclient_setup_ntp: Fixed NTP config for FreeIPA versions without sy…
Browse files Browse the repository at this point in the history
…nc_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)
  • Loading branch information
t-woerner committed Apr 26, 2019
1 parent 81916b4 commit c18b777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ipaclient/library/ipaclient_setup_ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c18b777

Please sign in to comment.