Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

service_spec.rb 281B

12345678910111213141516
  1. # frozen_string_literal: true
  2. control 'salt services' do
  3. title 'should be running'
  4. %w[
  5. salt-master
  6. salt-minion
  7. ].each do |p|
  8. describe service(p) do
  9. it { should be_installed }
  10. it { should be_enabled }
  11. it { should be_running }
  12. end
  13. end
  14. end