blob: 23e9bd1108b46131a238b45207972458ce68abef (
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 ? {
    "" => "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"),
  }
}
  |