0
0
mirror of https://github.com/saltstack-formulas/sysctl-formula.git synced 2024-12-02 21:36:44 +01:00
sysctl-formula/test/integration/default/controls/package_spec.rb

18 lines
282 B
Ruby

# frozen_string_literal: true
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