aboutsummaryrefslogtreecommitdiff
path: root/manifests/proxy_client.pp
blob: 988393300eed83536f350d8a3e729cd837722da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class apt::proxy_client {

  $real_apt_proxy = $apt_proxy ? {
    "" => "localhost",
    default => $apt_proxy
  }

  $real_apt_proxy_port = $apt_proxy_port ? {
    "" => "3142",
    default => $apt_proxy_port
  }

  apt_conf { "20proxy":
    content => template("apt/20proxy.erb"),
  }
}