Bladeren bron

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 jaren geleden
bovenliggende
commit
6b7d8df156
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +2
    -1
      test/integration/default/controls/packages_spec.rb

+ 2
- 1
test/integration/default/controls/packages_spec.rb Bestand weergeven

@@ -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'

Laden…
Annuleren
Opslaan