aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-01-10 12:56:33 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-01-12 15:07:57 +0100
commit0a07215d422f8f606a41d822436e6c6dd93d001f (patch)
tree3e335e7fb5e3b03b90fdef953bf7be8afef73ff8 /templates
parentConvert to pdk module. (diff)
downloadhugonikanor-letsencrypt-0a07215d422f8f606a41d822436e6c6dd93d001f.tar.gz
hugonikanor-letsencrypt-0a07215d422f8f606a41d822436e6c6dd93d001f.tar.xz
Working product.
Diffstat (limited to 'templates')
-rw-r--r--templates/ini.epp10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/ini.epp b/templates/ini.epp
new file mode 100644
index 0000000..7d5cc92
--- /dev/null
+++ b/templates/ini.epp
@@ -0,0 +1,10 @@
+<%- | Hash[String, Any] $values
+| -%>
+<%# This is technically not a proper ini-file, since it lacks headersa.
+ Certbot however calls them ini files, so we do to. -%>
+# File managed by Puppet
+<%- $values.each |$key, $value| { -%>
+<%- unless $value == undef { -%>
+<%= $key %> = <%= $value %>
+<%- } -%>
+<%- } -%>