瀏覽代碼

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

For Arch, Inspec define `platform[:family]` as `linux` and
`platform[:name]` as `arch`.
tags/v1.2.0
Daniel Dehennin 4 年之前
父節點
當前提交
6b7d8df156
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      test/integration/default/controls/packages_spec.rb

+ 2
- 1
test/integration/default/controls/packages_spec.rb 查看文件

@@ -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…
取消
儲存