puppet-setproxy/templates/profile_proxy.sh.erb
Yolanda Robla 492fd2351a Add rsync_proxy settings
Add the ability to setup rsync_proxy var into
our templates.

Change-Id: I4522aabe306513ce3c104140136e07cdd0ceb836
2015-07-20 15:13:45 +02:00

16 lines
395 B
Plaintext

<% if @http_proxy -%>
export http_proxy=<%= @http_proxy %>
export HTTP_PROXY=<%= @http_proxy %>
<% end -%>
<% if @https_proxy -%>
export https_proxy=<%= @https_proxy %>
export HTTPS_PROXY=<%= @https_proxy %>
<% end -%>
<% if @rsync_proxy -%>
export rsync_proxy=<%= @rsync_proxy %>
export RSYNC_PROXY=<%= @rsync_proxy %>
<% end -%>
<% if @no_proxy -%>
export no_proxy=<%= @no_proxy %>
<% end -%>