From a08c3df5ced2aa6a573306b68da976967321998a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 20 Dec 2014 21:45:00 +0100 Subject: [PATCH] stable may run ntp again --- modules/ntp/manifests/init.pp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/ntp/manifests/init.pp b/modules/ntp/manifests/init.pp index 4f6ff6832..0cfb62563 100644 --- a/modules/ntp/manifests/init.pp +++ b/modules/ntp/manifests/init.pp @@ -4,9 +4,16 @@ class ntp { ensure => installed } - service { 'ntp': - ensure => stopped, - require => Package['ntp'] + if ($::lsbmajdistrelease >= 8) { + service { 'ntp': + ensure => stopped, + require => Package['ntp'] + } + } else { + service { 'ntp': + ensure => running, + require => Package['ntp'] + } } @ferm::rule { 'dsa-ntp': -- 2.20.1