From: Micah Anderson Date: Tue, 27 May 2014 20:42:59 +0000 (-0400) Subject: add the ability to override the automatic inclusion of the sshd_client X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6b1044a0c741bdcf14c5ef501f61d422118d13ca;p=puppet-sshd.git add the ability to override the automatic inclusion of the sshd_client --- diff --git a/manifests/init.pp b/manifests/init.pp index f12918b..bccef83 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 {