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.
This commit is contained in:
Dan Bode
2012-02-13 16:58:45 -08:00
parent 310ca91b59
commit d062985219

View File

@@ -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':