Commit 9454fddd authored by Karl Kornel's avatar Karl Kornel
Browse files

ntp: Disable systemd-timesyncd on RHEL 8

parent 89ffd69d
...@@ -38,6 +38,14 @@ class base::ntp { ...@@ -38,6 +38,14 @@ class base::ntp {
}, },
notify => Service['ntpd'], 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': { 'Debian': {
package { 'ntpdate': ensure => present } package { 'ntpdate': ensure => present }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment