ERROR Facter - Error while resolving custom fact fact='letsencrypt_directory', resolution='<anonymous>': header too long

333 views
Skip to first unread message

Callum McCrorie

unread,
Sep 21, 2023, 9:04:26 AM9/21/23
to Puppet Users
Hello. I am hoping that someone might be able to help me with a letsencrpt issue that I am facing. When I run puppet on my agent node or if I run facter -p letsencrypt_directory I see the following error:  
ERROR Facter - Error while resolving custom fact fact='letsencrypt_directory', resolution='<anonymous>': header too long .
I do not have letsencrypt_directory anywhere stated in any of my scripts that I have created. I am using a control repo with r10k. Please be aware that I have changed the domain name in this file.
https://gist.github.com/cmccrorie/421b31489fd216b9fd4561f370b7ca8b

Any help on this issue would be greatly appreciated. Thank you.

Martin Alfke

unread,
Sep 21, 2023, 10:25:41 AM9/21/23
to puppet...@googlegroups.com
The fact reads certificates from several lets encrypt directories.

I see in our code snippet, that you create empty files as cert files.
Can you please check that the files in the directories are not 0 0bytes size?

If you have 0 byte files, the fact can not parse them using openssl library.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/33b66d97-5cbf-4c62-9285-b3dad277f88en%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages