Saltstack Official Apt-Cacher 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.

11 lines
484B

  1. ########################################################################
  2. # File managed by Salt at <{{ source }}>.
  3. # Your changes will be overwritten.
  4. ########################################################################
  5. Acquire::http::Proxy "http://{{ apt_cacher_ng.server_address }}:{{ apt_cacher_ng.server_port }}";
  6. Acquire::https::Proxy "{{ apt_cacher_ng.https_proxy }}";
  7. {% for host in apt_cacher_ng.local_mirrors -%}
  8. Acquire::http::Proxy::{{ host }} "DIRECT";
  9. {% endfor -%}