mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-12 07:49:59 +01:00
18 lines
294 B
Ruby
18 lines
294 B
Ruby
# frozen_string_literal: true
|
|
|
|
control 'salt packages' do
|
|
title 'should be installed'
|
|
|
|
version = '3001'
|
|
|
|
%w[
|
|
salt-master
|
|
salt-minion
|
|
].each do |p|
|
|
describe package(p) do
|
|
it { should be_installed }
|
|
its('version') { should match(/^#{version}/) }
|
|
end
|
|
end
|
|
end
|