From 148e50dba7d43debef7965ac3b99387ddb01dc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 3 Jan 2012 10:57:39 +0200 Subject: [PATCH] Fixed ntpd class for Fedora versions lower than 16. --- ntpd/manifests/init.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ntpd/manifests/init.pp b/ntpd/manifests/init.pp index 3848cc8..fb14b63 100644 --- a/ntpd/manifests/init.pp +++ b/ntpd/manifests/init.pp @@ -13,7 +13,14 @@ class ntpd { case $operatingsystem { "fedora": { - include ntpd::chrony + case $operatingsystemrelease { + /^1[0-5]/: { + include ntpd::isc-ntpd + } + default: { + include ntpd::chrony + } + } } "openbsd": { include ntpd::openntpd