mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-16 09:40:23 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
# Overide by Platform
|
||||
package_name =
|
||||
case platform[:family]
|
||||
when 'suse'
|
||||
# `linux` here is sufficient for `arch`
|
||||
when 'suse', 'linux'
|
||||
'openssh'
|
||||
else
|
||||
'openssh-server'
|
||||
|
|
Loading…
Add table
Reference in a new issue