summaryrefslogtreecommitdiff
path: root/code/environments/production/modules/apt/templates/proxy.epp
blob: ee663cb82ea80ccfe15ffc90d0ec3c967188d06f (plain)
1
2
3
4
5
6
7
<%- | Hash $proxies | -%>
Acquire::http::proxy "http://<%= $proxies['host'] %>:<%= $proxies['port'] %>/";
<%- if $proxies['https'] { %>
Acquire::https::proxy "https://<%= $proxies['host'] %>:<%= $proxies['port'] %>/";
<%- } elsif $proxies['direct'] { -%>
Acquire::https::proxy "DIRECT";
<%- } -%>