puppetlabs / puppetserver-helm-chart

The Helm Chart for Puppet Server
Apache License 2.0
47 stars 55 forks source link

fixes #228 better check for puppetcerts when running multimaster to prevent infinite hang #232

Closed anthonysomerset closed 2 months ago

anthonysomerset commented 2 months ago

fixes #228

basically instead of looking for a static file puppet.pem we use find to search for a file that has puppet and ends .pem

this allows for the potential that Kubernetes clusters where certs might get generated with fully qualified paths

Find has to be used because you can't do wildcard file tests in bash so you have to use find in a subshell to search for the wildcard then return a count of files