mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-23 23:14:05 +02:00
test(aluminium): add pillar, tests and verification files for 3003
This commit is contained in:
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
|
||||
Reference in new issue
Block a user