-class roles::syncproxy {
- $bind = $::hostname ? {
- 'milanollo' => '5.153.231.9',
- 'mirror-anu' => '150.203.164.60',
- 'mirror-isc' => '149.20.20.21',
- 'mirror-umn' => '128.101.240.216',
- 'klecker' => '130.89.148.10',
- default => ''
- }
- $bind6 = $::hostname ? {
- 'milanollo' => '2001:41c8:1000:21::21:9',
- 'mirror-anu' => '2001:388:1034:2900::3c',
- 'mirror-isc' => '2001:4f8:8:36::1deb:21',
- 'mirror-umn' => '2607:ea00:101:3c0b::1deb:216',
- 'klecker' => '2001:610:1908:b000::148:10',
- default => ''
- }
- $syncproxy_name = $::hostname ? {
- 'milanollo' => 'syncproxy3.eu.debian.org',
- 'mirror-anu' => 'syncproxy.au.debian.org',
- 'mirror-isc' => 'syncproxy2.wna.debian.org',
- 'mirror-umn' => 'syncproxy.cna.debian.org',
- 'klecker' => 'syncproxy2.eu.debian.org',
- default => 'unknown'
- }
+# a syncproxy
+# @param syncproxy_name the service name of this syncproxy
+# @param listen_addr IP addresses to have rsync and apache listen on, and ssh to trigger from
+class roles::syncproxy(
+ String $syncproxy_name,
+ Array[Stdlib::IP::Address] $listen_addr = [],
+) {
+ include roles::archvsync_base