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