Format the list of hosts to check properly
[mirror/dsa-puppet.git] / modules / roles / templates / mirror-health.service.erb
index 575c958..6158951 100644 (file)
@@ -13,7 +13,7 @@ DynamicUser=true
 
 Environment="MIRROR_CHECK_SERVICE=<%= @check_service %>"
 Environment="MIRROR_CHECK_URL=<%= @url %>"
-Environment="MIRROR_CHECK_HOSTS=<%= @check_hosts %>"
+Environment="MIRROR_CHECK_HOSTS=<%= @check_hosts.join ' ' %>"
 Environment="MIRROR_CHECK_INTERVAL=<%= @check_interval %>"
 
 [Install]