From 26714ae4d2992c85082ec37e6c40d725d097f79a Mon Sep 17 00:00:00 2001
From: Gabriel Filion <lelutin@gmail.com>
Date: Mon, 25 Oct 2010 11:58:27 -0400
Subject: Include the protocol in the proxy URL

The current proxy_client template makes it possible to communicate with
the proxy only via HTTP. Add the protocol to the variable so that it's
possible to change the protocol.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
---
 templates/20proxy.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates')

diff --git a/templates/20proxy.erb b/templates/20proxy.erb
index 36b26a0..8f57e73 100644
--- a/templates/20proxy.erb
+++ b/templates/20proxy.erb
@@ -1,4 +1,4 @@
 # This file is brought to you by Puppet
 # all local modifications will be overwritten
 
-Acquire::http { Proxy "http://<%= real_apt_proxy %>:<%= real_apt_proxy_port %>"; };
+Acquire::http { Proxy "<%= real_apt_proxy %>:<%= real_apt_proxy_port %>"; };
-- 
cgit v1.2.3