aboutsummaryrefslogtreecommitdiff
path: root/manifests/proxy-client.pp
blob: 30bda8a665ea61572a0ffc29b712d930cf8658f7 (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_snippet { "20proxy":
    content => template("apt/20proxy.erb"),
  }
}