diff --git a/ntpd/manifests/init.pp b/ntpd/manifests/init.pp index a3a89d6..cad9dba 100644 --- a/ntpd/manifests/init.pp +++ b/ntpd/manifests/init.pp @@ -40,6 +40,13 @@ class ntpd { "openbsd": { include ntpd::openntpd } + "centos","redhat": { + if versioncmp($::operatingsystemrelease, "7") < 0 { + include ntpd::isc-ntpd + } else { + include ntpd::chrony + } + } default: { include ntpd::isc-ntpd }