Added support for Suse
This commit is contained in:
parent
23eab804a2
commit
b6907bf14f
@ -12,6 +12,7 @@ This module has been tested to work on the following systems.
|
|||||||
|
|
||||||
* EL 5
|
* EL 5
|
||||||
* EL 6
|
* EL 6
|
||||||
|
* SLES 11
|
||||||
|
|
||||||
===
|
===
|
||||||
|
|
||||||
|
@ -88,8 +88,20 @@ class ssh (
|
|||||||
'openssh-clients']
|
'openssh-clients']
|
||||||
$default_sshd_config_subsystem_sftp = '/usr/libexec/openssh/sftp-server'
|
$default_sshd_config_subsystem_sftp = '/usr/libexec/openssh/sftp-server'
|
||||||
}
|
}
|
||||||
|
'Suse': {
|
||||||
|
$default_packages = 'openssh'
|
||||||
|
if $::architecture == 'x86_64' {
|
||||||
|
$default_sshd_config_subsystem_sftp = '/usr/lib64/ssh/sftp-server'
|
||||||
|
}
|
||||||
|
elsif $::architecture == 'i386' {
|
||||||
|
$default_sshd_config_subsystem_sftp = '/usr/lib/ssh/sftp-server'
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
fail("ssh supports architecture x86_64 & i386 for Suse. Detected architecture is <${::architecture}>.")
|
||||||
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("ssh supports osfamily RedHat. Detected osfamily is <${::osfamily}>.")
|
fail("ssh supports osfamily RedHat & Suse. Detected osfamily is <${::osfamily}>.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user