diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-11-06 22:56:10 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-11-06 23:28:45 +0100 |
commit | 4bc6cdc1967ab881af3807025dddb84418dfa7e4 (patch) | |
tree | b8f269d291a56d396d4d829df79647a6cc9c14d0 /templates | |
parent | Allow for lists in unit files. (diff) | |
download | networking-4bc6cdc1967ab881af3807025dddb84418dfa7e4.tar.gz networking-4bc6cdc1967ab881af3807025dddb84418dfa7e4.tar.xz |
Fix repack function.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/unit_file.epp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/unit_file.epp b/templates/unit_file.epp index 6751058..02e5c32 100644 --- a/templates/unit_file.epp +++ b/templates/unit_file.epp @@ -1,9 +1,9 @@ <%- | Hash[String,Array[Hash]] $data | -%> # File managed by PUPPET -<%- $data.each |$key, $sub| { -%> +<%- $data.each |$key, $subs| { -%> +<%- $subs.each |$sub| { -%> -<%- $sub.each |$sub| { -%> [<%= $key %>] <%- $sub.each |$k, $v| { -%> <%- if $v =~ Array { $v.each |$v| { -%> |