mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2026-07-15 04:22:17 +02:00
ci(kitchen): add Kitchen tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user