From 48aa149b2de4509b8ce65777b109906cfb5d6312 Mon Sep 17 00:00:00 2001
From: Ivar Matstoms <ivar.matstoms@gmail.com>
Date: Wed, 19 Mar 2025 10:21:32 +0100
Subject: [PATCH] Add explicit cert_name to certbot.pp

---
 manifests/certbot.pp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/manifests/certbot.pp b/manifests/certbot.pp
index a0e0459..868729e 100644
--- a/manifests/certbot.pp
+++ b/manifests/certbot.pp
@@ -16,6 +16,7 @@ define knuth::certbot (
       plugin             => 'nginx',
       additional_args    => [ '--quiet', ],
       post_hook_commands => [ 'systemctl reload nginx.service', ],
+      cert_name          => $letsencrypt_certname
     }
   } else {
     letsencrypt::certonly { $letsencrypt_certname:
-- 
GitLab