aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-05-27 16:42:59 -0400
committerMicah Anderson <micah@riseup.net>2014-05-27 16:42:59 -0400
commit6b1044a0c741bdcf14c5ef501f61d422118d13ca (patch)
treedc52965526244d8a0b877f802fbc95118ac2c5dc /manifests
parent1eabfe1b590f6663c2558f949408a08fc5f58fa6 (diff)
downloadpuppet-sshd-6b1044a0c741bdcf14c5ef501f61d422118d13ca.tar.gz
puppet-sshd-6b1044a0c741bdcf14c5ef501f61d422118d13ca.tar.bz2
add the ability to override the automatic inclusion of the sshd_client
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp13
1 files 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 {