blob: 91b4b9b7b7be18210b1b0d5f27941f6e5ef397b9 [file] [log] [blame]
Petr Michalec10462bb2017-03-23 19:18:08 +01001
2# PROXIES
3#
4# globally
5describe file('/etc/apt/apt.conf.d/99proxies-salt') do
6 it('should exist')
7 its('content') { should_not match /ftp/ }
8 its('content') { should match /proxy "https.*127.0.2.1:4443"/ }
9end
10
11# per repo
12describe file('/etc/apt/apt.conf.d/99proxies-salt-opencontrail') do
13 it('should exist')
14 its('content') { should_not match /ftp/ }
15 its('content') { should match /Acquire::https::proxy::ppa.launchpad.net/ }
16end
17