Sfoglia il codice sorgente

test(inpsec): test apt-cacher client config

tags/v0.7.0
Nicolas Rodriguez 5 anni fa
parent
commit
81bb9db914
2 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +1
    -0
      kitchen.yml
  2. +6
    -0
      test/integration/default/controls/config_spec.rb

+ 1
- 0
kitchen.yml Vedi File

base: base:
'*': '*':
- apt-cacher.ng.server - apt-cacher.ng.server
- apt-cacher.ng.client
pillars: pillars:
top.sls: top.sls:
base: base:

+ 6
- 0
test/integration/default/controls/config_spec.rb Vedi File

# Custom config # Custom config
its('content') { should include "Port: 9999" } its('content') { should include "Port: 9999" }
end end

describe file('/etc/apt/apt.conf.d/80proxy') do
# Default config
its('content') { should include 'Acquire::http::Proxy "http://localhost:9999";' }
its('content') { should include 'Acquire::https::Proxy "DIRECT";' }
end
end end

Loading…
Annulla
Salva