-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new installs only : puppet error on trustedca fact #51
Comments
can you provide debug output? |
It's a good point that this fact probably is useless, we certainly do not use it. |
Mmmh... it actually helped to try to debug this manally - facter or puppet were not giving much details even in debug mode. :
(this is on ar ARC6 CE) |
Hi @fschaer |
Hi, Here it is. Found it on my ARC6 (dev) node, not on my ARC5 prod one (which should be migrated to ARC6...) |
Hi @fschaer
The file is an RSA private key. I don't think such a .pem file should be in the But indeed skipping over it is possible. This key should be revoked |
Hi Steve,
Well, indeed, yes it’as a key – I don’t know how exactly it ends here, but that has something todo with ARC enabling a “test CA” that should never be used in production…
Everyone has it apparently, or maybe it’s generated on the fly, at startup, whatever....
I agree that kind of file should not be placed here, but it is – I can and will make it disappear of course, but any garbage file there with the .pem extension will cause an error too I presume ?
|
When /etc/grid-security/certificate/*.pem files are encountered which cannot be parsed as x509 public keys they will now be skipped over by the trustedcas facts Unit tests are also added for the trustedcas fact. Fixes: voxpupuli#51
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
just run puppet or facter
What are you seeing
Puppet fact error :
`
`
What behaviour did you expect instead
No facter error. And in fact a way to drop this useless fact if possible.
Output log
Any additional information you'd like to impart
This is not hapenning on hosts with same OS, same puppet version, but not freshly installed. No idea why. But if hosts get reinstalled (or just CAs ?), error appears.
The text was updated successfully, but these errors were encountered: