Merge "Update ssh module to support SUSE"
This commit is contained in:
commit
8970c32cd2
@ -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…
x
Reference in New Issue
Block a user