blob: 91b4b9b7b7be18210b1b0d5f27941f6e5ef397b9 [file] [log] [blame]
# PROXIES
#
# globally
describe file('/etc/apt/apt.conf.d/99proxies-salt') do
it('should exist')
its('content') { should_not match /ftp/ }
its('content') { should match /proxy "https.*127.0.2.1:4443"/ }
end
# per repo
describe file('/etc/apt/apt.conf.d/99proxies-salt-opencontrail') do
it('should exist')
its('content') { should_not match /ftp/ }
its('content') { should match /Acquire::https::proxy::ppa.launchpad.net/ }
end