0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-12-18 17:30:47 +01:00
openssh-formula/test/integration/default/controls/services_spec.rb

16 lines
317 B
Ruby
Raw Normal View History

# 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