mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +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[]
|
platform_packages = %w[]
|
||||||
held_packages = {}
|
held_packages = {}
|
||||||
lock_file = ''
|
lock_file = ''
|
||||||
# Adding empty Arch entries, to get tests passing
|
|
||||||
when 'arch'
|
|
||||||
platform_packages = %w[]
|
|
||||||
held_packages = {}
|
|
||||||
lock_file = ''
|
|
||||||
when 'debian'
|
when 'debian'
|
||||||
platform_packages = %w[]
|
platform_packages = %w[]
|
||||||
held_packages = {
|
held_packages = {
|
||||||
|
@ -51,6 +46,13 @@ when 'debian'
|
||||||
'iotop': '0.6-'
|
'iotop': '0.6-'
|
||||||
}
|
}
|
||||||
lock_file = '/var/lib/dpkg/status'
|
lock_file = '/var/lib/dpkg/status'
|
||||||
|
when 'linux'
|
||||||
|
case platform[:name]
|
||||||
|
when 'arch'
|
||||||
|
platform_packages = %w[ruby]
|
||||||
|
held_packages = {}
|
||||||
|
lock_file = ''
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# FIXME: - not testing Held packages
|
# FIXME: - not testing Held packages
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
remote_pkgs = ['zoom']
|
remote_pkgs = ['zoom']
|
||||||
|
|
||||||
case platform[:family]
|
case platform[:family]
|
||||||
when 'suse'
|
# `linux` here is sufficient for `arch`
|
||||||
|
when 'suse', 'linux'
|
||||||
remote_pkgs = []
|
remote_pkgs = []
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
packages:
|
packages:
|
||||||
pkgs:
|
pkgs:
|
||||||
held:
|
held:
|
||||||
- alien
|
# - alien
|
||||||
- iotop
|
- iotop
|
||||||
wanted:
|
wanted:
|
||||||
|
- ruby
|
||||||
- git
|
- git
|
||||||
- less
|
- less
|
||||||
- bc
|
- bc
|
||||||
|
@ -17,7 +18,6 @@ packages:
|
||||||
required:
|
required:
|
||||||
pkgs:
|
pkgs:
|
||||||
- git
|
- git
|
||||||
- yum-plugin-versionlock
|
|
||||||
pips:
|
pips:
|
||||||
wanted:
|
wanted:
|
||||||
- attrs
|
- attrs
|
||||||
|
@ -33,5 +33,5 @@ packages:
|
||||||
- diff-lcs
|
- diff-lcs
|
||||||
- kitchen-vagrant
|
- kitchen-vagrant
|
||||||
- kwalify
|
- kwalify
|
||||||
remote_pkgs:
|
# remote_pkgs:
|
||||||
zoom: 'https://zoom.us/client/latest/zoom_x86_64.rpm'
|
# zoom: 'https://zoom.us/client/latest/zoom_x86_64.tar.xz'
|
||||||
|
|
Loading…
Add table
Reference in a new issue