Saltstack Official Apt-Cacher Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

18 lines
532B

  1. control 'AptCacherNG configuration' do
  2. title 'should match desired lines'
  3. describe file('/etc/apt-cacher-ng/zzz_acng.conf') do
  4. # Default config
  5. its('content') { should include "BindAddress: 0.0.0.0" }
  6. # Custom config
  7. its('content') { should include "Port: 9999" }
  8. end
  9. describe file('/etc/apt/apt.conf.d/80proxy') do
  10. # Default config
  11. its('content') { should include 'Acquire::http::Proxy "http://localhost:9999";' }
  12. its('content') { should include 'Acquire::https::Proxy "DIRECT";' }
  13. end
  14. end