From: Tollef Fog Heen Date: Sat, 30 Sep 2017 19:38:32 +0000 (+0200) Subject: Format the list of hosts to check properly X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c89d010cf1b6f749e24fe636c93bda57bbe164ac;p=mirror%2Fdsa-puppet.git Format the list of hosts to check properly --- diff --git a/modules/roles/templates/mirror-health.service.erb b/modules/roles/templates/mirror-health.service.erb index 575c958f3..6158951bf 100644 --- a/modules/roles/templates/mirror-health.service.erb +++ b/modules/roles/templates/mirror-health.service.erb @@ -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]