Petr Michalec | 10462bb | 2017-03-23 19:18:08 +0100 | [diff] [blame^] | 1 | |
| 2 | # PROXIES |
| 3 | # |
| 4 | # globally |
| 5 | describe 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"/ } |
| 9 | end |
| 10 | |
| 11 | # per repo |
| 12 | describe 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/ } |
| 16 | end |
| 17 | |