From 2f4f1c9a616b4b92a598440958121d4a7e83356c Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Fri, 2 Feb 2018 00:28:13 +0100 Subject: [PATCH] More debugging --- modules/roles/manifests/security_mirror.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/roles/manifests/security_mirror.pp b/modules/roles/manifests/security_mirror.pp index 4482ddbf6..9ac92709c 100644 --- a/modules/roles/manifests/security_mirror.pp +++ b/modules/roles/manifests/security_mirror.pp @@ -37,8 +37,11 @@ class roles::security_mirror { } $mirrors = hiera_hash('roles::security_mirror',[]) + notice("Mirrors: ${mirrors}") $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] } - $hosts_to_check = $fastly_mirrors.map | $h| { $h['service-hostname'] } + notice("Fastly Mirrors: ${fastly_mirrors}") + $hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] } + notice("Fastly Mirrors: ${hosts_to_check}") roles::mirror_health { 'security': check_hosts => $hosts_to_check, -- 2.20.1