Update ssh module to support SUSE
Add parameters for SUSE based distros. Change-Id: I5efbe49c72089f0dc59663f32009f85dfc3bb6e6
This commit is contained in:
parent
12c069e667
commit
6d714bb482
@ -14,8 +14,13 @@ class ssh::params {
|
|||||||
$service_name = 'ssh'
|
$service_name = 'ssh'
|
||||||
$sftp_path = '/usr/lib/openssh/sftp-server'
|
$sftp_path = '/usr/lib/openssh/sftp-server'
|
||||||
}
|
}
|
||||||
|
'Suse': {
|
||||||
|
$package_name = 'openssh'
|
||||||
|
$service_name = 'sshd'
|
||||||
|
$sftp_path = '/usr/lib/ssh/sftp-server'
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily: ${::osfamily} The 'ssh' module only supports osfamily Debian or RedHat (slaves only).")
|
fail("Unsupported osfamily: ${::osfamily} The 'ssh' module only supports osfamily Debian, RedHat or SUSE (slaves only).")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user