1 2 3 4 5 6 7 8 9
class apt::proxy_client ( $proxy = 'http://localhost', $port = '3142', ) { ::apt::apt_conf { '20proxy': content => template('apt/20proxy.erb'), } }