test(aluminium): add pillar, tests and verification files for 3003

This commit is contained in:
Imran Iqbal committed 2021-04-22 08:52:57 +01:00
1 parent 6316991334
commit 752a1dea22
28 files changed
+2903

No files matched your search

@@ -0,0 +1,26 @@
# frozen_string_literal: true
pkgs =
case system.platform[:name]
when 'arch'
%w[salt]
when /bsd$/
%w[py37-salt]
when 'windows'
%w[Salt\ Minion]
else
%w[salt-master salt-minion]
end
control 'salt packages' do
title 'should be installed'
version = '3003'
pkgs.each do |p|
describe package(p) do
it { should be_installed }
its('version') { should match(/^#{version}/) }
end
end
end