The fact reads certificates from several lets encrypt directories. See https://github.com/voxpupuli/puppet-letsencrypt/blob/master/lib/facter/letsencrypt_directory.rb
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. > On 21. Sep 2023, at 15:04, Callum McCrorie <[email protected]> wrote: > > 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. > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/33b66d97-5cbf-4c62-9285-b3dad277f88en%40googlegroups.com > > <https://groups.google.com/d/msgid/puppet-users/33b66d97-5cbf-4c62-9285-b3dad277f88en%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/FB92F42C-4633-4A4A-86C9-8681AC96DB2E%40gmail.com.
