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 satır
348B

  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. %w(
  10. salt-master
  11. salt-minion
  12. ).each do |p|
  13. describe package(p) do
  14. it { should be_installed }
  15. its('version') { should eq version }
  16. end
  17. end
  18. end