diff --git a/manifests/hosts/forskarmatch2.pp b/manifests/hosts/forskarmatch2.pp
index 2ac21d181b19cff0021cab5d59e566d19533a35a..4f60e5d732a13768b628d305c4483ca25147f0af 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 8555f9f07d3bf243ab78a4347564c334335eac93..24bc30b681837ad3ebca70e09cd46d8f1472eb95 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'],
   }