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.

21 lines
408B

  1. case os[:name]
  2. when 'centos'
  3. version = '2017.7.8-1.el6'
  4. when 'debian', 'ubuntu'
  5. version = '2017.7.8+ds-1'
  6. end
  7. control 'salt packages' do
  8. title 'should be installed'
  9. describe package('salt-master') do
  10. it { should be_installed }
  11. its('version') { should eq version }
  12. end
  13. describe package('salt-minion') do
  14. it { should be_installed }
  15. its('version') { should eq version }
  16. end
  17. end