Commit 66245069 authored by mh's avatar mh Committed by Micah Anderson

use the centos class on centos based systems

parent 3e04a43f
# things needed on centos
class shorewall::centos inherits shorewall::base {
if $::lsbmajdistrelease == '6' {
if $::lsbmajdistrelease > 5 {
augeas{'enable_shorewall':
context => '/files/etc/sysconfig/shorewall',
changes => 'set startup 1',
......
......@@ -16,7 +16,7 @@ class shorewall(
include shorewall::debian
$dist_tor_user = 'debian-tor'
}
centos: { include shorewall::base }
centos: { include shorewall::centos }
ubuntu: {
case $::lsbdistcodename {
karmic: { include shorewall::ubuntu::karmic }
......@@ -24,7 +24,7 @@ class shorewall(
}
}
default: {
notice "unknown operatingsystem: ${::operatingsystem}"
notice "unknown operatingsystem: ${::operatingsystem}"
include shorewall::base
}
}
......@@ -65,5 +65,5 @@ class shorewall(
shorewall::managed_file { tunnel: }
# See http://www.shorewall.net/MultiISP.html
shorewall::managed_file { rtrules: }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment