summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-13 00:08:56 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-13 00:08:56 +0200
commit123507e708737642362a8d400109c995f880e04e (patch)
tree9d6823196a8842d2ec8801d2da43eda14640d428
parentFix spelling mistake in metadata.json. (diff)
downloadnetworking-123507e708737642362a8d400109c995f880e04e.tar.gz
networking-123507e708737642362a8d400109c995f880e04e.tar.xz
Add puppet notice to generated sytemd files.
-rw-r--r--templates/unit_file.epp2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/unit_file.epp b/templates/unit_file.epp
index 00d486a..1482b29 100644
--- a/templates/unit_file.epp
+++ b/templates/unit_file.epp
@@ -1,6 +1,8 @@
<%- | Hash[String,Hash] $data
| -%>
+# File managed by PUPPET
<%- $data.each |$key, $sub| { -%>
+
[<%= $key %>]
<%- $sub.each |$k, $v| { -%>
<%- if $v =~ Array { $v.each |$v| { -%>