debug_mirror: remove useless and broken filter
authorJulien Cristau <jcristau@debian.org>
Tue, 16 Oct 2018 08:52:15 +0000 (10:52 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 16 Oct 2018 08:52:15 +0000 (10:52 +0200)
modules/roles/manifests/debug_mirror.pp

index 8c26b78..ac01ff6 100644 (file)
@@ -31,7 +31,6 @@ class roles::debug_mirror {
        }
 
        $hosts_to_check = hiera('roles.debug_mirror', {})
-               .filter |$h| { $h[1]['service-hostname'] }
                .map |$h| { $h[1]['service-hostname'] }
        roles::mirror_health { 'debug':
                check_hosts     => $hosts_to_check,