diff modules/website/manifests/init.pp @ 451:a08a2f718f9d

Fix Certbot dependency on Ubuntu `certbot` just imports the script without the Apache module, which prevents us renewing
author IBBoard <dev@ibboard.co.uk>
date Sun, 13 Aug 2023 15:19:38 +0100
parents 575764c36e16
children 2c3e745be8d2
line wrap: on
line diff
--- a/modules/website/manifests/init.pp	Sun Aug 13 15:17:57 2023 +0100
+++ b/modules/website/manifests/init.pp	Sun Aug 13 15:19:38 2023 +0100
@@ -173,7 +173,7 @@
     }
   }
   elsif $operatingsystem == 'Ubuntu' {
-    $certbot_pkg = 'certbot'
+    $certbot_pkg = 'python3-certbot-apache'
   }
   cron { 'letsencrypt-renewal':
     command => '/usr/bin/certbot renew --quiet',