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.
|
- # frozen_string_literal: true
-
- services =
- case platform[:family]
- when 'windows'
- %w[salt-minion]
- else
- %w[salt-master salt-minion]
- end
-
- control 'salt services' do
- title 'should be running'
-
- services.each do |p|
- describe service(p) do
- it { should be_installed }
- it { should be_enabled }
- it { should be_running }
- end
- end
- end
|