Merge pull request #15 from Phil-Friderici/sles_support
Added support for Suse
This commit is contained in:
commit
e796537601
@ -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,22 @@ 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'
|
||||||
|
case $::architecture {
|
||||||
|
'x86_64': {
|
||||||
|
$default_sshd_config_subsystem_sftp = '/usr/lib64/ssh/sftp-server'
|
||||||
|
}
|
||||||
|
'i386' : {
|
||||||
|
$default_sshd_config_subsystem_sftp = '/usr/lib/ssh/sftp-server'
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
fail("ssh supports architectures x86_64 and i386 for Suse. Detected architecture is <${::architecture}>.")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("ssh supports osfamily RedHat. Detected osfamily is <${::osfamily}>.")
|
fail("ssh supports osfamilies RedHat and Suse. Detected osfamily is <${::osfamily}>.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user