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 311B

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