From 807b42d3335e8ea73a8d899c803f3a0b3661fbc0 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 --- manifests/params.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 6590176..ba443fd 100644 --- a/manifests/params.pp +++ b/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).") } } }