Project

General

Profile

Download (459 Bytes) Statistics
| Branch: | Tag: | Revision:
<%#
kind: snippet
name: http_proxy
model: ProvisioningTemplate
snippet: true
description: |
Configures common HTTP proxy ENV variables based on the host_proxy
host parameter. Currently not used by any shipped template.
-%>
<% if (proxy = host_param("http_proxy")) -%>
http_proxy=<%= proxy %>
export http_proxy
https_proxy=<%= proxy %>
export https_proxy
no_proxy=localhost,127.0.0.0/8,*.local,*.<%= @host.domain.name -%>,puppet
export no_proxy
<% end -%>
(20-20/55)