summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-07-07 01:45:57 +0200
committermh <mh@immerda.ch>2011-07-07 01:45:57 +0200
commitaf97bf0e96167e916e36110eb858f257ccf083e6 (patch)
treed2f12dc9da084dcd72ad3a7ee08cf167da9c57c0
parent02d3c6ec11c441a5ab59a5ca001afd6a3f449933 (diff)
linux is the kernel not the operating system
-rw-r--r--manifests/cron.pp10
1 files changed, 6 insertions, 4 deletions
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 }
+ }
+ }
}
}