mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-17 10:10:28 +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
|
# 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…
Add table
Reference in a new issue