Saltstack Official OpenSSH Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

packages_spec.rb 342B

12345678910111213141516171819202122
  1. # frozen_string_literal: true
  2. # Overide by Platform
  3. package_name =
  4. case platform[:family]
  5. when 'suse'
  6. 'openssh'
  7. else
  8. 'openssh-server'
  9. end
  10. control 'openssh package' do
  11. title 'should be installed'
  12. only_if do
  13. platform.family != 'bsd'
  14. end
  15. describe package(package_name) do
  16. it { should be_installed }
  17. end
  18. end