From 9454fddd6953ef84b277c1693cf0a056fa8e782f Mon Sep 17 00:00:00 2001
From: "A. Karl Kornel" <akkornel@stanford.edu>
Date: Wed, 28 Sep 2016 17:14:47 -0700
Subject: [PATCH] ntp: Disable systemd-timesyncd on RHEL 8

---
 manifests/ntp.pp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/manifests/ntp.pp b/manifests/ntp.pp
index bbcfffc..0b4a6c9 100644
--- a/manifests/ntp.pp
+++ b/manifests/ntp.pp
@@ -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 }
-- 
GitLab