Install the Deb proxy solution based on squid with a tweaked config file for clients and/or server.
Note
See the full Salt Formulas installation and usage instructions.
Installs an apt.conf.d configuration file pointing the client at the proxy server.
Note
You need to change set the proxy target in the client pillar.
squid_deb_proxy:
client:
proxy_server:
target: apt-get-proxy-server.mycloud.foo
grain: 'network.ip_addrs'
Installs squid-deb-proxy server.