diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/networking/templates/unit_file.epp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/networking/templates/unit_file.epp b/modules/networking/templates/unit_file.epp index 2cbfefb..00d486a 100644 --- a/modules/networking/templates/unit_file.epp +++ b/modules/networking/templates/unit_file.epp @@ -3,5 +3,9 @@ <%- $data.each |$key, $sub| { -%> [<%= $key %>] <%- $sub.each |$k, $v| { -%> +<%- if $v =~ Array { $v.each |$v| { -%> <%= $k %>=<%= $v %> +<%- } } else { -%> +<%= $k %>=<%= $v %> +<%- } -%> <%- }} -%> |