From 12748c349df9d0d94ed6824dc7e4159b8caf785a Mon Sep 17 00:00:00 2001 From: ccarrez Date: Thu, 12 Aug 2021 18:28:07 +0200 Subject: [PATCH] fix syntaxe --- templates/action.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/action.epp b/templates/action.epp index c3073f33..f739c30c 100644 --- a/templates/action.epp +++ b/templates/action.epp @@ -24,7 +24,7 @@ action(type="<%= $type %>" <% if $action_name { -%> name="<%= $action_name %>" <%}-%> -<% if $config { -%> +<% $config.each |$k, $v| { -%> <%- if $v =~ Array { -%> <%= $k %>=[ <%= $v.map |$i| { "\"${i}\"" }.join(', ') %> ] <%- } else { -%>