re-add shorewall in rule :/

This commit is contained in:
mh 2009-12-10 23:45:12 +01:00
parent 217a4e2566
commit 5bdeab5848
2 changed files with 15 additions and 11 deletions

View file

@ -1,16 +1,16 @@
# manifests/client.pp
class sshd::client {
case $operatingsystem {
debian: { include sshd::client::debian }
default: {
case $kernel {
linux: { include sshd::client::linux }
default: { include sshd::client::base }
}
}
}
if $use_shorewall{
include shorewall::rules::out::ssh
case $operatingsystem {
debian: { include sshd::client::debian }
default: {
case $kernel {
linux: { include sshd::client::linux }
default: { include sshd::client::base }
}
}
}
if $use_shorewall{
include shorewall::rules::out::ssh
}
}

View file

@ -221,4 +221,8 @@ class sshd {
default: { nagios::service{ "ssh_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
}
}
if $use_shorewall{
include shorewall::rules::ssh
}
}