diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-03 17:22:13 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-03 18:19:26 +0100 |
commit | 5a71c9c5083c0a30102485f09f2f55c65d988ebf (patch) | |
tree | 71f27643650dd214c051706f79ca42b27bfb5498 /templates | |
parent | Network rewrites. (diff) | |
download | networking-5a71c9c5083c0a30102485f09f2f55c65d988ebf.tar.gz networking-5a71c9c5083c0a30102485f09f2f55c65d988ebf.tar.xz |
networking
Diffstat (limited to 'templates')
-rw-r--r-- | templates/unit_file.epp | 7 |
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 %> +<%- }} -%> |