diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-26 17:29:21 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-26 17:29:21 +0200 |
commit | a7e54399776977f9724e48c0b787795660704a60 (patch) | |
tree | 010095b46285edaff7ebf33651b9d2ee811c6dbf /templates/service.epp | |
parent | fix (diff) | |
download | nspawn-a7e54399776977f9724e48c0b787795660704a60.tar.gz nspawn-a7e54399776977f9724e48c0b787795660704a60.tar.xz |
Replace template based nspawn file with puppet based.
Diffstat (limited to '')
-rw-r--r-- | templates/service.epp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/service.epp b/templates/service.epp new file mode 100644 index 0000000..0ce3778 --- /dev/null +++ b/templates/service.epp @@ -0,0 +1,11 @@ +<%- | Array[Tuple[String, Array[String]]] $settings | -%> +# File managed by Puppet. +# Local changes WILL be overwritten + +<%- $settings.each |$section| { -%> +[<%= $section[0] %>] +<%- $section[1].each |$line| { -%> +<%= $line %> +<%- } -%> + +<%- } -%> |