puppetlabs-toy-chest / puppet-quest-guide

Quest Guide for the Puppet Learning VM
Other
44 stars 75 forks source link

Clean up all of the SSL certs, even on the master #269

Closed greglarkin closed 5 years ago

greglarkin commented 5 years ago

This fix cleans up the agent node (Docker container) certificates both from the Docker-mounted directory as well as the master's SSL directory. Prior to this, certificates did not generate automatically due to leftover files in the master's SSL directory. Eventually, it appeared as though the first Puppet run in the container would generate the files, but it was too late to automatically sign them at that point, leaving it to the user to sign the agent node's certificate.

This problem appeared after updating the LVM with PE 2019.0.1, but I'm not sure if it is related to that or was just exposed by some other timing-related issue/race condition.