From 06b4b47947a67b289045ec0fce2d28b71b1bc60a Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Wed, 2 Apr 2025 13:31:34 +0200 Subject: [PATCH] Fix erb syntax for telegraf, SC-2522 --- .../modules/eid/templates/telegraf2/docker-compose.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/docker-compose.yml.erb b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/docker-compose.yml.erb index dd0b1e68..6e5e179d 100644 --- a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/docker-compose.yml.erb +++ b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/docker-compose.yml.erb @@ -13,7 +13,7 @@ services: - '<%= @service_dir %>:<%= @service_dir %>' - '/var/run/utmp:/var/run/utmp:ro' -<% if @ports != '' -%> +<% if @ports != [] -%> ports: <% @ports.each do |port| -%> - <%= port %>