0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2025-02-22 19:43:51 +01:00

21 lines
311 B
Ruby
Raw Normal View History

# Overide by Platform
package_name =
case platform[:family]
when 'suse'
'openssh'
else
'openssh-server'
end
control 'openssh package' do
title 'should be installed'
only_if do
platform.family != 'bsd'
end
describe package(package_name) do
it { should be_installed }
end
end