aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 858e1b5..cf089bc 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -121,6 +121,10 @@ class sshd::base {
'' => 'yes',
default => $sshd_strict_modes
}
+ $real_sshd_ignore_rhosts = $sshd_ignore_rhosts ? {
+ '' => 'yes',
+ default => $sshd_ignore_rhosts
+ }
file { 'sshd_config':
path => '/etc/ssh/sshd_config',