Skip to content

Commit 6e98ea3

Browse files
authored
Merge pull request voxpupuli#98 from tuxmea/fix_allow_list
verified within a local docker compose
2 parents a9702e4 + 848d969 commit 6e98ea3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

puppetdb/conf.d/puppetdb.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
puppetdb: {
22
disable-update-checking: 'true'
3-
certificate-allowlist: '/etc/puppetlabs/puppetdb/conf.d/certificate-allowlist'
3+
certificate-allowlist: certificate-allowlist
44
}

puppetdb/docker-entrypoint.d/30-certificate-allowlist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
if [ "$PUPPETDB_CERTIFICATE_ALLOWLIST" != "" ]; then
44
IFS=','
55
for cert in $PUPPETDB_CERTIFICATE_ALLOWLIST; do
6-
echo $cert >> /etc/puppetlabs/puppetdb/conf.d/certificate-allowlist
6+
echo $cert >> /opt/puppetlabs/server/apps/puppetdb/certificate-allowlist
77
done
88
else
9-
touch /etc/puppetlabs/puppetdb/conf.d/certificate-allowlist
9+
touch /opt/puppetlabs/server/apps/puppetdb/certificate-allowlist
1010
fi
1111

0 commit comments

Comments
 (0)