}
$mirrors = hiera_hash('roles::security_mirror',[])
- notice("Mirrors: ${mirrors}")
+ notify { "Mirrors: ${mirrors}": }
$fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
- notice("Fastly Mirrors: ${fastly_mirrors}")
+ notify { "Fastly Mirrors: ${fastly_mirrors}": }
$hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
- notice("Fastly Mirrors: ${hosts_to_check}")
+ notify {"Fastly Mirrors: ${hosts_to_check}": }
roles::mirror_health { 'security':
check_hosts => $hosts_to_check,