diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-26 17:51:12 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-26 17:51:12 -0400 |
commit | 58fef5f8092b937caa2a11648f3937e17f718d81 (patch) | |
tree | 09318f6b69ee24632a71e2c2368f7f83a1fded4f /manifests/init.pp | |
parent | d2b60a477aceec818c79bae901cfb7068e85985e (diff) | |
download | puppet-sshd-58fef5f8092b937caa2a11648f3937e17f718d81.tar.gz puppet-sshd-58fef5f8092b937caa2a11648f3937e17f718d81.tar.bz2 |
add variable sshd_permit_empty_passwords, with the default set to no
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 02f2e42..5ba3e22 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -71,6 +71,11 @@ # sshd_strict_modes: If you want to set StrictModes (check file modes/ownership before accepting login) # Valid Values: yes or no # Default: yes +# +# sshd_permit_empty_passwords: If you want enable PermitEmptyPasswords to allow empty passwords +# Valid Values: yes or no +# Default: no + class sshd { include sshd::client @@ -141,6 +146,10 @@ class sshd::base { '' => 'no', default => $sshd_hostbased_authentication } + $real_sshd_permit_empty_passwords = $sshd_permit_empty_passwords ? { + '' => 'no', + default => $sshd_permit_empty_passwords + } file { 'sshd_config': path => '/etc/ssh/sshd_config', |