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.
|
- # frozen_string_literal: true
-
- control 'AptCacherNG service' do
- title 'should be running and enabled'
-
- describe service('apt-cacher-ng') do
- it { should be_enabled }
- it { should be_running }
- end
-
- describe port(9999) do
- it { should be_listening }
- its('processes') { should include 'apt-cacher-ng' }
- its('protocols') { should include 'tcp' }
- its('addresses') { should include '0.0.0.0' }
- end
- end
|