mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2024-11-28 07:48:00 +01:00
16 lines
242 B
Ruby
16 lines
242 B
Ruby
|
control 'Timezone package' do
|
||
|
title 'should be installed'
|
||
|
|
||
|
package_name =
|
||
|
case os[:family]
|
||
|
when 'suse'
|
||
|
'timezone'
|
||
|
else
|
||
|
'tzdata'
|
||
|
end
|
||
|
|
||
|
describe package(package_name) do
|
||
|
it { should be_installed }
|
||
|
end
|
||
|
end
|