More debugging
authorTollef Fog Heen <tfheen@err.no>
Thu, 1 Feb 2018 23:28:13 +0000 (00:28 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 1 Feb 2018 23:28:13 +0000 (00:28 +0100)
modules/roles/manifests/security_mirror.pp

index 4482ddb..9ac9270 100644 (file)
@@ -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,