mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2024-11-28 12:07:23 +01:00
18 lines
267 B
Ruby
18 lines
267 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|