X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=templates%2Fproxy.epp;h=ee663cb82ea80ccfe15ffc90d0ec3c967188d06f;hb=cc04b37121efb0fab5a356187d0a3de7d5327b1b;hp=0cbccb847b46f9337f5214d56bccfd0e50c05f3d;hpb=03681047ed16a1f88d63fe1cd07ea85815257b6f;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/templates/proxy.epp b/templates/proxy.epp index 0cbccb8..ee663cb 100644 --- a/templates/proxy.epp +++ b/templates/proxy.epp @@ -2,4 +2,6 @@ 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"; <%- } -%>