From 6d714bb48259e113260dfe4e66b8430ea7e0c8e6 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 25 Sep 2014 09:07:38 +0200 Subject: [PATCH] Update ssh module to support SUSE Add parameters for SUSE based distros. Change-Id: I5efbe49c72089f0dc59663f32009f85dfc3bb6e6 --- modules/ssh/manifests/params.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ssh/manifests/params.pp b/modules/ssh/manifests/params.pp index 65901766e8..ba443fd4bc 100644 --- a/modules/ssh/manifests/params.pp +++ b/modules/ssh/manifests/params.pp @@ -14,8 +14,13 @@ class ssh::params { $service_name = 'ssh' $sftp_path = '/usr/lib/openssh/sftp-server' } + 'Suse': { + $package_name = 'openssh' + $service_name = 'sshd' + $sftp_path = '/usr/lib/ssh/sftp-server' + } 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).") } } }