Format the list of hosts to check properly
authorTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 19:38:32 +0000 (21:38 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 19:38:32 +0000 (21:38 +0200)
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]