Commit c3e6cc83 authored by mh's avatar mh

added debian default, to enable the shorewall


git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@1870 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
parent 2a0a2c31
# prevent startup with default configuration
# set the below variable to 1 in order to allow shorewall to start
startup=1
# if your shorewall's configuration need to detect the ip address of a ppp
# interface you must list such interface in "wait_interface" to get shorewall to
# wait until the interface is configured otherwise the script will fail because
# it won't be able to detect the address.
#
# Example:
# wait_interface="ppp0"
# or
# wait_interface="ppp0 ppp1"
# or, if you have defined in /etc/shorewall/params
# wait_interface=
# EOF
......@@ -25,6 +25,7 @@ class shorewall {
case $operatingsystem {
gentoo: { include shorewall::gentoo }
debian: { include shorewall::debian }
default: { include shorewall::base }
}
......@@ -255,3 +256,12 @@ class shorewall::gentoo inherits shorewall::base {
category => 'net-firewall',
}
}
class shorewall::debian inherits shorewall::base {
file{'/etc/default/shorewall':
source => "puppet://$server/shorewall/debian/default",
require => Package['shorewall'],
notify => Service['shorewall'],
owner => root, group => 0, mode => 0644;
}
}
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