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 configuration' do
- title 'should match desired lines'
-
- describe file('/etc/apt-cacher-ng/zzz_acng.conf') do
- # Default config
- its('content') { should include 'BindAddress: 0.0.0.0' }
-
- # Custom config
- its('content') { should include 'Port: 9999' }
- end
-
- describe file('/etc/apt/apt.conf.d/80proxy') do
- # Default config
- its('content') { should include 'Acquire::http::Proxy "http://localhost:9999";' }
- its('content') { should include 'Acquire::https::Proxy "DIRECT";' }
- end
- end
|