From 19e04ac52ed26d662dd91685e88fa8757d33eb2f Mon Sep 17 00:00:00 2001 From: Stefan - Zipkid - Goethals Date: Thu, 24 Oct 2024 15:31:34 +0200 Subject: [PATCH] Also set masterport in puppet.conf That way, local commands, like `puppetserver ca ` also work --- puppetserver/docker-entrypoint.d/55-set-masterport.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/puppetserver/docker-entrypoint.d/55-set-masterport.sh b/puppetserver/docker-entrypoint.d/55-set-masterport.sh index be8198cf..a1bb7b19 100755 --- a/puppetserver/docker-entrypoint.d/55-set-masterport.sh +++ b/puppetserver/docker-entrypoint.d/55-set-masterport.sh @@ -9,5 +9,7 @@ hocon() { if test -n "$PUPPETSERVER_PORT"; then cd /etc/puppetlabs/puppetserver/conf.d/ hocon -f webserver.conf set webserver.ssl-port $PUPPETSERVER_PORT + cd /etc/puppetlabs/puppet/ + hocon -f puppet.conf set masterport $PUPPETSERVER_PORT cd / fi