Saltstack Official OpenSSH Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

openssl_server_spec.rb 279B

1234567891011121314151617
  1. require 'serverspec'
  2. set :backend, :exec
  3. def service_name()
  4. return case os[:family]
  5. when 'redhat' then 'sshd'
  6. when 'debian', 'ubuntu' then 'ssh'
  7. end
  8. end
  9. describe 'openssl/config.sls' do
  10. describe service(service_name()) do
  11. it { should be_running }
  12. end
  13. end