Add health check on debian-debug archive backends
[mirror/dsa-puppet.git] / modules / roles / manifests / debug_mirror.pp
index e148e9d..b43d66a 100644 (file)
@@ -34,4 +34,11 @@ class roles::debug_mirror {
                        target_address => $onion_v4_addr,
                }
        }
+
+       roles::mirror_health { 'debug':
+               check_hosts     => hiera('roles.debug_mirror'),
+               check_service   => 'debug',
+               url             => 'http://debug.backend.mirrors.debian.org/debian-debug/dists/sid-debug/Release',
+               health_url      => 'http://debug.backend.mirrors.debian.org/_health',
+       }
 }