Open alisboav opened 9 months ago
The agent assumes its private key and client cert are available so that it can use them to establish a mTLS connection to the source
. It should be more defensive in case we're running in masterless and don't have a client cert. There's a related but different issue https://puppet.atlassian.net/browse/PUP-11331
Migrated issue to PUP-12037
Describe the Bug
On a Masterless Puppet Environment using the last version of puppet-agent, we get two warning messages about the fact that there is no private key or certificate, what is expected in this environment. The
puppet-agent-7.16.0-1.el9.x86_64
is the most recent version that does not show the warning, from versionpuppet-agent-7.17.0-1.el9.x86_64
the warnings are displayed. Can you please take a look?Expected Behavior
No warning messages on a Masterless Puppet Environment.
Steps to Reproduce
It's a bug with the file resource https://www.puppet.com/docs/puppet/5.5/types/file.html
Environment