Removed duplicated code

This commit is contained in:
Francisco Calero (UNIX) 2021-10-21 13:30:10 +02:00
parent 58ea7fe1dc
commit 25f7d44ae4

View File

@ -185,10 +185,6 @@ class ssh (
'x86_64': { 'x86_64': {
if ($::operatingsystem == 'SLES') { if ($::operatingsystem == 'SLES') {
case $::operatingsystemrelease { case $::operatingsystemrelease {
/12\./: {
$default_sshd_config_subsystem_sftp = '/usr/lib/ssh/sftp-server'
$default_sshd_config_serverkeybits = '1024'
}
/15\./: { /15\./: {
$default_sshd_config_subsystem_sftp = '/usr/lib/ssh/sftp-server' $default_sshd_config_subsystem_sftp = '/usr/lib/ssh/sftp-server'
$default_sshd_config_serverkeybits = undef $default_sshd_config_serverkeybits = undef