puppet-letsencrypt icon indicating copy to clipboard operation
puppet-letsencrypt copied to clipboard

Error with missing certificate file

Open wilful opened this issue 5 years ago • 0 comments

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')

wilful avatar Feb 03 '20 13:02 wilful