Fix typo
authorTollef Fog Heen <tfheen@err.no>
Thu, 1 Feb 2018 23:12:54 +0000 (00:12 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 1 Feb 2018 23:12:54 +0000 (00:12 +0100)
modules/roles/manifests/security_mirror.pp

index 66201aa..4482ddb 100644 (file)
@@ -38,7 +38,7 @@ class roles::security_mirror {
 
        $mirrors = hiera_hash('roles::security_mirror',[])
        $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
-       $hosts_to_check = $fastly_mirrors.map | $h| { $h1['service-hostname'] }
+       $hosts_to_check = $fastly_mirrors.map | $h| { $h['service-hostname'] }
 
         roles::mirror_health { 'security':
                check_hosts   => $hosts_to_check,