From 6b1044a0c741bdcf14c5ef501f61d422118d13ca Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 27 May 2014 16:42:59 -0400 Subject: add the ability to override the automatic inclusion of the sshd_client --- manifests/init.pp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 { -- cgit v1.2.3