From b6a9ceca126a57ed1ec4865e02f98403f4d3cc05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net>
Date: Mon, 16 Jan 2023 22:53:27 +0100
Subject: [PATCH] Make foreman use correct puppetdb address

The default (https://localhost:8081/pdb/cmd/v1) does not work as
puppetdb serves a certificate for chapman.lysator.liu.se (so certificate
verification fails).
---
 manifests/puppetserver.pp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/manifests/puppetserver.pp b/manifests/puppetserver.pp
index 565ec2f..f9ff189 100644
--- a/manifests/puppetserver.pp
+++ b/manifests/puppetserver.pp
@@ -25,6 +25,7 @@ class profiles::puppetserver (
 
   include ::foreman::plugin::puppet
   class { '::foreman::plugin::puppetdb':
+    address => 'https://chapman.lysator.liu.se:8081/pdb/cmd/v1',
   }
 
   class { '::foreman':
-- 
GitLab