Skip to content
Snippets Groups Projects
Commit 9454fddd authored by Karl Kornel's avatar Karl Kornel
Browse files

ntp: Disable systemd-timesyncd on RHEL 8

parent 89ffd69d
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,14 @@ class base::ntp {
},
notify => Service['ntpd'],
}
# On RHEL 8, we expect that systemd-timesync will be present, and not
# masked by NTP's installation. So, disbale the service.
if ( $::lsbmajdistrelease == 8 ) {
service { 'systemd-timesyncd':
ensure => stopped,
enable => false,
}
}
}
'Debian': {
package { 'ntpdate': ensure => present }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment