summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-10 23:45:12 +0100
committermh <mh@immerda.ch>2009-12-10 23:45:12 +0100
commit5bdeab5848f975317a215fd40574f8edd568480a (patch)
treee5da7e9061b203eb5c11111b927f50f3214a86e2 /manifests
parent217a4e25666e1fe2684872aa3f3a9868ffcf7141 (diff)
re-add shorewall in rule :/
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp22
-rw-r--r--manifests/init.pp4
2 files changed, 15 insertions, 11 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 2fc3a84..b650244 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -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
+ }
}
diff --git a/manifests/init.pp b/manifests/init.pp
index 83b26c1..88c48bb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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
+ }
}