mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-12-03 21:18:30 +01:00
16 lines
251 B
Ruby
16 lines
251 B
Ruby
|
control 'Sysctl package' do
|
||
|
title 'should be installed'
|
||
|
|
||
|
package_name =
|
||
|
case os[:family]
|
||
|
when 'debian', 'suse'
|
||
|
'procps'
|
||
|
else
|
||
|
'procps-ng'
|
||
|
end
|
||
|
|
||
|
describe package(package_name) do
|
||
|
it { should be_installed }
|
||
|
end
|
||
|
end
|