test(pkgs_spec): update for CVE releases 3000.2 & 2019.2.4

* https://docs.saltstack.com/en/latest/topics/releases/3000.2.html
* https://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
This commit is contained in:
Imran Iqbal committed 2020-05-01 10:27:38 +01:00
1 parent 7f19796517
commit 965588b108
3 files changed
+45 -19

No files matched your search

@@ -1,11 +1,23 @@
# frozen_string_literal: true
# Prepare platform "finger"
platform_finger = "#{platform[:name]}-#{platform[:release].split('.')[0]}"
version =
case platform[:family]
when 'redhat'
'2019.2.3-1.el7'
when 'debian'
'2019.2.3+ds-1'
'2019.2.4+ds-1'
when 'redhat'
case platform_finger
when 'centos-7'
'2019.2.4-1.el7'
when 'centos-6'
'2019.2.4-1.el6'
when 'amazon-2'
'2019.2.4-1.amzn2'
when 'amazon-2018'
'2019.2.4-1.amzn1'
end
end
control 'salt packages' do