content => template('roles/security_mirror/security.debian.org.erb')
}
- $mirrors = hiera('roles.security_mirror', {})
- $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
- $hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
+ $mirrors = hiera('roles.security_mirror', {})
+ $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
+ $hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
- roles::mirror_health { 'security':
+ roles::mirror_health { 'security':
check_hosts => $hosts_to_check,
check_service => 'security',
url => 'http://security.backend.mirrors.debian.org/debian/dists/sid/Release',