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.

23 satır
392B

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