fix(archlinux): fix test setup

This commit is contained in:
Imran Iqbal 2019-12-08 03:23:49 +00:00
parent 4176716f7e
commit 281846e791
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
3 changed files with 13 additions and 10 deletions

View file

@ -38,11 +38,6 @@ when 'suse'
platform_packages = %w[]
held_packages = {}
lock_file = ''
# Adding empty Arch entries, to get tests passing
when 'arch'
platform_packages = %w[]
held_packages = {}
lock_file = ''
when 'debian'
platform_packages = %w[]
held_packages = {
@ -51,6 +46,13 @@ when 'debian'
'iotop': '0.6-'
}
lock_file = '/var/lib/dpkg/status'
when 'linux'
case platform[:name]
when 'arch'
platform_packages = %w[ruby]
held_packages = {}
lock_file = ''
end
end
# FIXME: - not testing Held packages

View file

@ -4,7 +4,8 @@
remote_pkgs = ['zoom']
case platform[:family]
when 'suse'
# `linux` here is sufficient for `arch`
when 'suse', 'linux'
remote_pkgs = []
end

View file

@ -4,9 +4,10 @@
packages:
pkgs:
held:
- alien
# - alien
- iotop
wanted:
- ruby
- git
- less
- bc
@ -17,7 +18,6 @@ packages:
required:
pkgs:
- git
- yum-plugin-versionlock
pips:
wanted:
- attrs
@ -33,5 +33,5 @@ packages:
- diff-lcs
- kitchen-vagrant
- kwalify
remote_pkgs:
zoom: 'https://zoom.us/client/latest/zoom_x86_64.rpm'
# remote_pkgs:
# zoom: 'https://zoom.us/client/latest/zoom_x86_64.tar.xz'