Saltstack Official OpenSSH 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
-
- # Overide by Platform
- service_name = 'sshd'
- service_name = 'ssh' if platform[:family] == 'debian'
-
- control 'openssh service' do
- impact 0.5
- title 'should be running and enabled'
-
- describe service(service_name) do
- it { should be_enabled }
- it { should be_running }
- end
- end
|