From af97bf0e96167e916e36110eb858f257ccf083e6 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 7 Jul 2011 01:45:57 +0200 Subject: linux is the kernel not the operating system --- manifests/cron.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/cron.pp b/manifests/cron.pp index 693a430..5f9f227 100644 --- a/manifests/cron.pp +++ b/manifests/cron.pp @@ -1,10 +1,12 @@ -# manifests/cron.pp - class puppet::cron inherits puppet { case $operatingsystem { - linux: { include puppet::cron::linux } debian: { include puppet::cron::debian } openbsd: { include puppet::cron::openbsd } - default: { include puppet::cron::base } + default: { + case $kernel { + linux: { include puppet::cron::linux } + default: { include puppet::cron::base } + } + } } } -- cgit v1.2.3