]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
add the ability to override the automatic inclusion of the sshd_client
authorMicah Anderson <micah@riseup.net>
Tue, 27 May 2014 20:42:59 +0000 (16:42 -0400)
committerMicah Anderson <micah@riseup.net>
Tue, 27 May 2014 20:42:59 +0000 (16:42 -0400)
manifests/init.pp

index f12918b62489e91a98b4819e5e3c065d6abd56b2..bccef83d92b16184e54618fa8a6bf082914317c0 100644 (file)
@@ -33,13 +33,16 @@ class sshd(
   $tail_additional_options = '',
   $print_motd = 'yes',
   $manage_shorewall = false,
-  $shorewall_source = 'net'
+  $shorewall_source = 'net',
+  $manage_client = true,
 ) {
 
-  class{'sshd::client':
-    shared_ip        => $sshd::shared_ip,
-    ensure_version   => $sshd::ensure_version,
-    manage_shorewall => $manage_shorewall,
+  if $manage_client {
+    class{'sshd::client':
+      shared_ip        => $sshd::shared_ip,
+      ensure_version   => $sshd::ensure_version,
+      manage_shorewall => $manage_shorewall,
+    }
   }
 
   case $::operatingsystem {