diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-26 17:30:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-26 17:30:28 -0400 |
commit | 9edd2705d4c59ac8cb75a67b587d06d32cb5e6c6 (patch) | |
tree | ec918ac2f13b7bc7c76fba7662ce6c708ae8f0d8 /manifests/init.pp | |
parent | ba8d788f89e2e8676985b40553a9f6794a322217 (diff) | |
download | puppet-sshd-9edd2705d4c59ac8cb75a67b587d06d32cb5e6c6.tar.gz puppet-sshd-9edd2705d4c59ac8cb75a67b587d06d32cb5e6c6.tar.bz2 |
add sshd_ignore_rhosts option, default set to yes
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
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', |