Issue #16380 has been reported by Ben Ford.
----------------------------------------
Bug #16380: Terrible error message when certificates don't validate
https://projects.puppetlabs.com/issues/16380
Author: Ben Ford
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
So I put together a simple Proof of Concept CA for a client and kept getting a
wacky error during puppet agent runs:
# puppet agent -t
info: Retrieving plugin
err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional
resources using 'eval_generate: undefined method `find' for nil:NilClass
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/home.rb
I tracked it down to the fact that I was lazy and copied certificates from the
puppet master rather than creating my own, and as such, the name didn't match
and it didn't validate. The error message should SAY THIS and not just print a
nonsensical error message because of a nil object being blindly passed around.
The run succeeds, btw. It just never gets the CRL.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.