From d062985219ec99bcce9629abaf49ee8b84c4ddef Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Mon, 13 Feb 2012 16:58:45 -0800 Subject: [PATCH] Add proxy to apt class This commit adds a proxy to the apt class in the pre config manifest. This is because I am using a squid proxy to speed up testing in my environment. I need to expose this as a config option so that the hardcoded address of my app proxy is not required for anyone to use this. --- examples/pre.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/pre.pp b/examples/pre.pp index 6965ac79..7ffa358c 100644 --- a/examples/pre.pp +++ b/examples/pre.pp @@ -6,9 +6,13 @@ # set up all of the pre steps # this shoud be run -class { 'apt':} # use the swift trunk ppa class { 'swift::repo::trunk':} +class { 'apt': + proxy_host => '10.0.2.2', + proxy_port => '3128', + disable_keys => true, +} # use our apt repo apt::source { 'puppet':