Saltstack Official Apt-Cacher Formula

3 lines
131B

  1. {% set apt_cacher = pillar.get('apt-cacher', {}) -%}
  2. Acquire::http::Proxy "http://{{ apt_cacher.get('host', 'localhost') }}:3142";