summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-07 18:11:48 +0100
committermh <mh@immerda.ch>2009-12-07 18:11:48 +0100
commite7a5ffbb316cd2277589f0c649be46fa3a93b160 (patch)
tree2f7c6060557057a56e479a30422dda25c48d3ea2 /manifests/init.pp
parent443d0ca28791f087a2f95e45d47674c55949099a (diff)
shorewall package is only missing for karmic -> treat only karmic special
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 70086dc..61f7fea 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -4,7 +4,13 @@ class shorewall {
case $operatingsystem {
gentoo: { include shorewall::gentoo }
- debian,ubuntu: { include shorewall::debian }
+ debian: { include shorewall::debian }
+ ubuntu: {
+ case $lsbdistcodename {
+ karmic: { include shorewall::ubuntu::karmic }
+ default: { include shorewall::debian }
+ }
+ }
default: { notice "unknown operatingsystem: $operatingsystem"
include shorewall::base }
}