Problem scenario
You run puppet agent -t -d
and get this error:
"Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1"
What do you do?
Solution
This is more of a resolution rather than a diagnosis. The error should go away if you follow these steps.
On the Puppet agent node run these commands:
sudo cd /var/lib/puppet/ssl
sudo rm -rf *
sudo puppet agent -t -d
If you cannot find the ssl directory in the above location, run this command: sudo find / -name ssl -type d
On the Puppet Master, do this:
sudo puppet cert list
sudo puppet sign <FQDN shown in output from above command>