Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617
  1. # PROXIES
  2. #
  3. # globally
  4. describe file('/etc/apt/apt.conf.d/99proxies-salt') do
  5. it('should exist')
  6. its('content') { should_not match /ftp/ }
  7. its('content') { should match /proxy "https.*127.0.2.1:4443"/ }
  8. end
  9. # per repo
  10. describe file('/etc/apt/apt.conf.d/99proxies-salt-opencontrail') do
  11. it('should exist')
  12. its('content') { should_not match /ftp/ }
  13. its('content') { should match /Acquire::https::proxy::ppa.launchpad.net/ }
  14. end