summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-20 23:46:14 +0200
committermh <mh@immerda.ch>2010-10-20 23:46:14 +0200
commit8f918b0e7358013e4b2d16759a73b401ab386358 (patch)
treea0902c3554a48c5b5baacb2cc58ebffcffcb6783 /manifests
parent28342ba418ede266526aaaad5c89834883b4b16e (diff)
use parametrized class to pass ssh_ports to open up things
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 54f822a..06290a8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -247,6 +247,8 @@ class sshd {
}
if $use_shorewall{
- include shorewall::rules::ssh
+ class{'shorewall::rules::ssh':
+ ports => $sshd_ports,
+ }
}
}