Saltstack Official Apt-Cacher 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.

service_spec.rb 396B

123456789101112131415
  1. control 'AptCacherNG service' do
  2. title 'should be running and enabled'
  3. describe service('apt-cacher-ng') do
  4. it { should be_enabled }
  5. it { should be_running }
  6. end
  7. describe port(9999) do
  8. it { should be_listening }
  9. its('processes') { should include 'apt-cacher-ng' }
  10. its('protocols') { should include 'tcp' }
  11. its('addresses') { should include '0.0.0.0' }
  12. end
  13. end