@@ -155,6 +155,7 @@ suites: | |||
base: | |||
'*': | |||
- apt-cacher.ng.server | |||
- apt-cacher.ng.client | |||
pillars: | |||
top.sls: | |||
base: |
@@ -8,4 +8,10 @@ control 'AptCacherNG configuration' do | |||
# 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 |