From dcc293c25d0586fc3476425929a9a74314765ec1 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Wed, 20 Nov 2024 14:48:07 +0100 Subject: [PATCH] fix: set path to puppet bin --- puppetserver/docker-entrypoint.d/50-set-certname.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppetserver/docker-entrypoint.d/50-set-certname.sh b/puppetserver/docker-entrypoint.d/50-set-certname.sh index 054fe1a9..440e11e5 100755 --- a/puppetserver/docker-entrypoint.d/50-set-certname.sh +++ b/puppetserver/docker-entrypoint.d/50-set-certname.sh @@ -3,9 +3,9 @@ set -e if [ -n "${PUPPETSERVER_HOSTNAME}" ]; then - puppet config set server "$PUPPETSERVER_HOSTNAME" + /usr/bin/puppet config set server "$PUPPETSERVER_HOSTNAME" fi if [ -n "${CERTNAME}" ]; then - puppet config set certname "$CERTNAME" + /usr/bin/puppet config set certname "$CERTNAME" fi