b2b1fee370
* https://travis-ci.org/github/myii/salt-formula/jobs/692337807#L2366-L2381 - `opensuse` now has `3000.3` available * Simplification is useful anyway, even without this (could still use `case`)
18 lines
296 B
Ruby
18 lines
296 B
Ruby
# frozen_string_literal: true
|
|
|
|
control 'salt packages' do
|
|
title 'should be installed'
|
|
|
|
version = '3000.3'
|
|
|
|
%w[
|
|
salt-master
|
|
salt-minion
|
|
].each do |p|
|
|
describe package(p) do
|
|
it { should be_installed }
|
|
its('version') { should match(/^#{version}/) }
|
|
end
|
|
end
|
|
end
|