aboutsummaryrefslogtreecommitdiff
path: root/manifests/proxy_client.pp
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2010-10-25 11:58:27 -0400
committerGabriel Filion <lelutin@gmail.com>2010-10-25 14:14:26 -0400
commit26714ae4d2992c85082ec37e6c40d725d097f79a (patch)
tree3cac30251cfc763eb2ec9ca1c0fbb3446c0fdc98 /manifests/proxy_client.pp
parente2578c3b9820e9ff17f8a8881b8b22b5e241ee21 (diff)
downloadpuppet-apt-26714ae4d2992c85082ec37e6c40d725d097f79a.tar.gz
puppet-apt-26714ae4d2992c85082ec37e6c40d725d097f79a.tar.bz2
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>
Diffstat (limited to 'manifests/proxy_client.pp')
-rw-r--r--manifests/proxy_client.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/proxy_client.pp b/manifests/proxy_client.pp
index 9883933..23e9bd1 100644
--- a/manifests/proxy_client.pp
+++ b/manifests/proxy_client.pp
@@ -1,7 +1,7 @@
class apt::proxy_client {
$real_apt_proxy = $apt_proxy ? {
- "" => "localhost",
+ "" => "http://localhost",
default => $apt_proxy
}