0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2025-07-23 00:11:12 +02:00
2019-10-14 02:13:14 +02:00

18 lines
276 B
Ruby

control 'Rsync service' do
title 'should be running and enabled'
service_name =
case os[:family]
when 'debian'
'rsync'
else
'rsyncd'
end
describe service(service_name) do
it { should be_enabled }
it { should be_running }
end
end