26714ae4d2
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>
16 lines
296 B
Puppet
16 lines
296 B
Puppet
class apt::proxy_client {
|
|
|
|
$real_apt_proxy = $apt_proxy ? {
|
|
"" => "http://localhost",
|
|
default => $apt_proxy
|
|
}
|
|
|
|
$real_apt_proxy_port = $apt_proxy_port ? {
|
|
"" => "3142",
|
|
default => $apt_proxy_port
|
|
}
|
|
|
|
apt_conf { "20proxy":
|
|
content => template("apt/20proxy.erb"),
|
|
}
|
|
}
|