X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=templates%2Fproxy.epp;h=94e41af55d438404e0841871856694fa381abfef;hb=59d1f996fa72a6f1f0e24f51468eab14a19e6e41;hp=0cbccb847b46f9337f5214d56bccfd0e50c05f3d;hpb=a541b4ee32ea39f3eb23d4ffa3311daba61d1118;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/templates/proxy.epp b/templates/proxy.epp index 0cbccb8..94e41af 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'] %>/"; +<%- } else { -%> + Acquire::https::proxy "DIRECT"; <%- } -%>