Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
294B

  1. # frozen_string_literal: true
  2. control 'salt packages' do
  3. title 'should be installed'
  4. version = '3002'
  5. %w[
  6. salt-master
  7. salt-minion
  8. ].each do |p|
  9. describe package(p) do
  10. it { should be_installed }
  11. its('version') { should match(/^#{version}/) }
  12. end
  13. end
  14. end