0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-12-01 04:41:09 +01:00
cron-formula/test/integration/default/controls/package_spec.rb

18 lines
267 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2019-08-27 23:35:25 +02:00
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