From a15d9c966502a5bb41fd872a172ca1f635e61fa2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 25 May 2017 12:46:31 +0300 Subject: temp range check to fix puppet run failing --- manifests/defaults.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/defaults.pp b/manifests/defaults.pp index 762cd146..444c84a3 100644 --- a/manifests/defaults.pp +++ b/manifests/defaults.pp @@ -30,7 +30,8 @@ Service { ensure => running, } -if versioncmp($::lsbdistrelease, '2') >= 0 { +# (tmb) temp range check to fix puppet chocking +if (versioncmp($::lsbdistrelease, '2') >= 0) and (versioncmp($::lsbdistrelease, '6') <= 0) { Service { provider => systemd, } -- cgit v1.2.1