aboutsummaryrefslogtreecommitdiff
path: root/templates/proxy.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-26 11:08:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-26 11:08:33 -0200
commit311ce8d3ddafd00543bdbde6b59e3453f88d159f (patch)
tree296e22a9794d469a2038015eb4d09df62d425ca4 /templates/proxy.erb
parent3106af6835c72e587431f0817601545e9c41393f (diff)
downloadpuppet-apt-311ce8d3ddafd00543bdbde6b59e3453f88d159f.tar.gz
puppet-apt-311ce8d3ddafd00543bdbde6b59e3453f88d159f.tar.bz2
Adding proxy support
Diffstat (limited to 'templates/proxy.erb')
-rw-r--r--templates/proxy.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/proxy.erb b/templates/proxy.erb
new file mode 100644
index 0000000..01c9861
--- /dev/null
+++ b/templates/proxy.erb
@@ -0,0 +1,4 @@
+Acquire {
+<% if apt_http_proxy != false %> HTTP::Proxy "<%= apt_http_proxy %>";<% end %>
+<% if apt_ftp_proxy != false %> FTP::Proxy "<%= apt_ftp_proxy %>";<% end %>
+};