Skip to content

Commit

Permalink
Merge pull request #76 from voxpupuli/67-allow-setting-of-environment…
Browse files Browse the repository at this point in the history
…_timeout

change config section from master to server
  • Loading branch information
rwaffen authored Apr 5, 2024
2 parents 7e17694 + 67a537e commit 08ab3be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions puppetserver/docker-entrypoint.d/83-environment-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
#
if [ -n "$PUPPETSERVER_ENVIRONMENT_TIMEOUT" ]; then
echo "Settings environment_timeout to ${PUPPETSERVER_ENVIRONMENT_TIMEOUT}"
puppet config set --section master environment_timeout $PUPPETSERVER_ENVIRONMENT_TIMEOUT
puppet config set --section server environment_timeout $PUPPETSERVER_ENVIRONMENT_TIMEOUT
else
echo "Removing environment_timeout"
puppet config delete --section master environment_timeout
puppet config delete --section server environment_timeout
fi

0 comments on commit 08ab3be

Please sign in to comment.