0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-08-04 01:33:50 +02:00
Dafydd Jones f1e36d6d8f test: do not test installed Salt version
* Dont believe this is a useful test as the test images come with Salt installed
2025-06-10 14:33:59 +01:00

27 lines
479 B
Ruby

# frozen_string_literal: true
pkgs =
case system.platform[:name]
when 'arch'
%w[salt]
when /bsd$/
%w[py39-salt]
when 'windows'
['Salt Minion']
when 'mac_os_x'
%w[salt saltstack]
else
%w[salt-master salt-minion]
end
control 'salt packages' do
title 'should be installed'
pkgs.each do |p|
describe package(p) do
it { should be_installed }
# its('version') { should match(/^#{input('saltmajorversion')}/) }
end
end
end