From 3f605b9e204d0fd5cd663a6783ceea56a64f2738 Mon Sep 17 00:00:00 2001 From: Jimmy Tang Date: Mon, 22 Dec 2014 11:26:48 +0000 Subject: [PATCH] Fix typo in template 01proxy The key is always null and thus localhost is always used no matter way. This correction lets users specify the apt-cacher host. --- apt-cacher/files/01proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-cacher/files/01proxy b/apt-cacher/files/01proxy index b7c975c..d907de5 100644 --- a/apt-cacher/files/01proxy +++ b/apt-cacher/files/01proxy @@ -1,2 +1,2 @@ -{% set apt_cacher = pillar.get('apt-cacher', {}) -%} +{% set apt_cacher = pillar.get('apt_cacher', {}) -%} Acquire::http::Proxy "http://{{ apt_cacher.get('host', 'localhost') }}:3142";