Skip to content

Error with missing certificate file #217

@wilful

Description

@wilful

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions