re-add shorewall in rule :/
This commit is contained in:
parent
217a4e2566
commit
5bdeab5848
2 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue