puppet-letsencrypt
puppet-letsencrypt copied to clipboard
Error with missing certificate file
Some error
error while resolving custom fact "letsencrypt_directory": No such file or directory @ rb_sysopen - /etc/letsencrypt/live/domain.ltd/cert.pem
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5.5.17
How to reproduce (e.g Puppet code you use)
Remove cert.pem
Any additional information you'd like to impart
Maybe add a condition to check in the code before?
pem = File.join(path, 'cert.pem')