fix(inspec): the package name for Arch is openssh

For Arch, Inspec define `platform[:family]` as `linux` and
`platform[:name]` as `arch`.
This commit is contained in:
Daniel Dehennin 2020-07-20 16:28:28 +02:00
parent 7a1f6199d0
commit 6b7d8df156
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
# Overide by Platform # Overide by Platform
package_name = package_name =
case platform[:family] case platform[:family]
when 'suse' # `linux` here is sufficient for `arch`
when 'suse', 'linux'
'openssh' 'openssh'
else else
'openssh-server' 'openssh-server'