#
# @param listen_addr IP addresses to have apache listen on
# @param onion_service provide the onion service from this host
+# @param healthcheck_name name to access this node in the health checker
class roles::debug_mirror(
Array[Stdlib::IP::Address] $listen_addr = [],
Boolean $onion_service = false,
+ Optional[String] $healthcheck_name = undef,
) {
include roles::archvsync_base
include apache2
Ferm::Rule::Simple <<| tag == 'ssh::server::from::ftp_master' |>>
mirror_health::service { 'debug':
- this_host_service_name => hiera('roles.debug_mirror')[$::fqdn]['service-hostname'],
+ this_host_service_name => $healthcheck_name,
url => 'http://debug.backend.mirrors.debian.org/debian-debug/dists/sid-debug/Release',
health_url => 'http://debug.backend.mirrors.debian.org/_health',
}