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.

18 lines
427B

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