Ignore unhealthy hosts for deciding which mirrors are the newest
[mirror/dsa-puppet.git] / modules / roles / templates / mirror-health.service.erb
index bf77440..60d9dcd 100644 (file)
@@ -18,6 +18,7 @@ Restart=always
 
 Environment="MIRROR_CHECK_SERVICE=<%= @check_service %>"
 Environment="MIRROR_CHECK_URL=<%= @url %>"
+Environment="MIRROR_CHECK_HEALTH_URL=<%= @health_url %>"
 Environment="MIRROR_CHECK_HOSTS=<%= @check_hosts.join ' ' %>"
 Environment="MIRROR_CHECK_INTERVAL=<%= @check_interval %>"