Merge "Add rsync_proxy settings"

This commit is contained in:
Jenkins 2015-07-21 09:21:13 +00:00 committed by Gerrit Code Review
commit 607ec50ef7
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@
class setproxy::http (
$http_proxy = undef,
$https_proxy = undef,
$rsync_proxy = undef,
$no_proxy = undef,
) {

View File

@ -6,6 +6,10 @@ export HTTP_PROXY=<%= @http_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 -%>