summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/unit_file.epp4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/unit_file.epp b/templates/unit_file.epp
index 2cbfefb..00d486a 100644
--- a/templates/unit_file.epp
+++ b/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 %>
+<%- } -%>
<%- }} -%>