summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-03 17:22:13 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-03 18:19:26 +0100
commit5a71c9c5083c0a30102485f09f2f55c65d988ebf (patch)
tree71f27643650dd214c051706f79ca42b27bfb5498 /templates
parentNetwork rewrites. (diff)
downloadnetworking-5a71c9c5083c0a30102485f09f2f55c65d988ebf.tar.gz
networking-5a71c9c5083c0a30102485f09f2f55c65d988ebf.tar.xz
networking
Diffstat (limited to 'templates')
-rw-r--r--templates/unit_file.epp7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/unit_file.epp b/templates/unit_file.epp
new file mode 100644
index 0000000..2cbfefb
--- /dev/null
+++ b/templates/unit_file.epp
@@ -0,0 +1,7 @@
+<%- | Hash[String,Hash] $data
+| -%>
+<%- $data.each |$key, $sub| { -%>
+[<%= $key %>]
+<%- $sub.each |$k, $v| { -%>
+<%= $k %>=<%= $v %>
+<%- }} -%>