mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 17:50:24 +00:00
fix(archlinux): fix test setup
This commit is contained in:
parent
4176716f7e
commit
281846e791
3 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
remote_pkgs = ['zoom']
|
||||
|
||||
case platform[:family]
|
||||
when 'suse'
|
||||
# `linux` here is sufficient for `arch`
|
||||
when 'suse', 'linux'
|
||||
remote_pkgs = []
|
||||
end
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue