mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2024-11-29 11:53:59 +01:00
16 lines
236 B
Ruby
16 lines
236 B
Ruby
|
control 'Cron package' do
|
||
|
title 'should be installed'
|
||
|
|
||
|
package_name =
|
||
|
case os[:family]
|
||
|
when 'debian'
|
||
|
'cron'
|
||
|
else
|
||
|
'cronie'
|
||
|
end
|
||
|
|
||
|
describe package(package_name) do
|
||
|
it { should be_installed }
|
||
|
end
|
||
|
end
|