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:
@@ -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':
|
||||
|
Reference in New Issue
Block a user