Add rsync_proxy settings
Add the ability to setup rsync_proxy var into our templates. Change-Id: I4522aabe306513ce3c104140136e07cdd0ceb836
This commit is contained in:
parent
d5dc9e2612
commit
492fd2351a
@ -18,6 +18,7 @@
|
|||||||
class setproxy::http (
|
class setproxy::http (
|
||||||
$http_proxy = undef,
|
$http_proxy = undef,
|
||||||
$https_proxy = undef,
|
$https_proxy = undef,
|
||||||
|
$rsync_proxy = undef,
|
||||||
$no_proxy = undef,
|
$no_proxy = undef,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@ -6,6 +6,10 @@ export HTTP_PROXY=<%= @http_proxy %>
|
|||||||
export https_proxy=<%= @https_proxy %>
|
export https_proxy=<%= @https_proxy %>
|
||||||
export HTTPS_PROXY=<%= @https_proxy %>
|
export HTTPS_PROXY=<%= @https_proxy %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
<% if @rsync_proxy -%>
|
||||||
|
export rsync_proxy=<%= @rsync_proxy %>
|
||||||
|
export RSYNC_PROXY=<%= @rsync_proxy %>
|
||||||
|
<% end -%>
|
||||||
<% if @no_proxy -%>
|
<% if @no_proxy -%>
|
||||||
export no_proxy=<%= @no_proxy %>
|
export no_proxy=<%= @no_proxy %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user