Ferm::Rule::Simple <<| tag == 'ssh::server::from::ftp_master' |>>
- $hosts_to_check = hiera('roles.debug_mirror', {})
- .map |$h| { $h[1]['service-hostname'] }
- roles::mirror_health { 'debug':
- check_hosts => $hosts_to_check,
- check_service => 'debug',
- url => 'http://debug.backend.mirrors.debian.org/debian-debug/dists/sid-debug/Release',
- health_url => 'http://debug.backend.mirrors.debian.org/_health',
+ mirror_health::service { 'debug':
+ this_host_service_name => hiera('roles.debug_mirror')[$::fqdn]['service-hostname'],
+ url => 'http://debug.backend.mirrors.debian.org/debian-debug/dists/sid-debug/Release',
+ health_url => 'http://debug.backend.mirrors.debian.org/_health',
}
}