Skip to content

Commit

Permalink
verified within a local docker compose
Browse files Browse the repository at this point in the history
certificate-allowlist setting may only be a file name when used in a
container
  • Loading branch information
tuxmea committed Jan 23, 2025
1 parent a9702e4 commit 848d969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion puppetdb/conf.d/puppetdb.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
puppetdb: {
disable-update-checking: 'true'
certificate-allowlist: '/etc/puppetlabs/puppetdb/conf.d/certificate-allowlist'
certificate-allowlist: certificate-allowlist
}
4 changes: 2 additions & 2 deletions puppetdb/docker-entrypoint.d/30-certificate-allowlist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
if [ "$PUPPETDB_CERTIFICATE_ALLOWLIST" != "" ]; then
IFS=','
for cert in $PUPPETDB_CERTIFICATE_ALLOWLIST; do
echo $cert >> /etc/puppetlabs/puppetdb/conf.d/certificate-allowlist
echo $cert >> /opt/puppetlabs/server/apps/puppetdb/certificate-allowlist
done
else
touch /etc/puppetlabs/puppetdb/conf.d/certificate-allowlist
touch /opt/puppetlabs/server/apps/puppetdb/certificate-allowlist
fi

0 comments on commit 848d969

Please sign in to comment.