base: | base: | ||||
'*': | '*': | ||||
- apt-cacher.ng.server | - apt-cacher.ng.server | ||||
- apt-cacher.ng.client | |||||
pillars: | pillars: | ||||
top.sls: | top.sls: | ||||
base: | base: |
# Custom config | # Custom config | ||||
its('content') { should include "Port: 9999" } | its('content') { should include "Port: 9999" } | ||||
end | 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 | end |