mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-24 05:39:08 +02:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user