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:
parent
7a1f6199d0
commit
6b7d8df156
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user