]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
use parametrized class to pass ssh_ports to open up things
authormh <mh@immerda.ch>
Wed, 20 Oct 2010 21:46:14 +0000 (23:46 +0200)
committermh <mh@immerda.ch>
Wed, 20 Oct 2010 21:46:14 +0000 (23:46 +0200)
manifests/init.pp

index 54f822ae13e81a8c44e32776733285e594a71725..06290a8c4ad8917bad2ac791b466fe3c6890d192 100644 (file)
@@ -247,6 +247,8 @@ class sshd {
   }
 
   if $use_shorewall{
-    include shorewall::rules::ssh
+    class{'shorewall::rules::ssh':
+      ports => $sshd_ports,
+    }
   }
 }