From 8fe038c455671162093aa2735c0bdd5263fec368 Mon Sep 17 00:00:00 2001
From: Nils Olof Paulsson <nils.olof.paulsson@liu.se>
Date: Mon, 5 May 2025 09:45:24 +0200
Subject: [PATCH] fixfqdn

---
 manifests/hosts/forskarmatch2.pp | 1 +
 manifests/hosts/juliusum2.pp     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/manifests/hosts/forskarmatch2.pp b/manifests/hosts/forskarmatch2.pp
index 2ac21d1..4f60e5d 100644
--- a/manifests/hosts/forskarmatch2.pp
+++ b/manifests/hosts/forskarmatch2.pp
@@ -4,6 +4,7 @@ class kmaccess::hosts::forskarmatch2 {
   #   before => User['kmaccess'],
   # }
   # User <| title == 'kmaccess' |> { groups +> 'docker' }
+  $fqdn = fact('networking.fqdn')
   profiles::letsencrypt::cert { $fqdn:
     addn_domains => ['forskarmatch.ida.liu.se'],
   }
diff --git a/manifests/hosts/juliusum2.pp b/manifests/hosts/juliusum2.pp
index 8555f9f..24bc30b 100644
--- a/manifests/hosts/juliusum2.pp
+++ b/manifests/hosts/juliusum2.pp
@@ -4,6 +4,7 @@ class kmaccess::hosts::juliusum2 {
   #   before => User['kmaccess'],
   # }
   # User <| title == 'kmaccess' |> { groups +> 'docker' }
+  $fqdn = fact('networking.fqdn')
   profiles::letsencrypt::cert { $fqdn:
     addn_domains => ['juliusum.it.liu.se', 'juliusum.ida.liu.se'],
   }
-- 
GitLab