markt-de / puppet-acme

Centralized SSL certificate management using acme.sh and the ACME protocol
https://forge.puppet.com/markt/acme
Apache License 2.0
9 stars 17 forks source link

Cert directory not created on master #10

Closed seidler2547 closed 4 years ago

seidler2547 commented 6 years ago

I am getting this error on the first issue of a certificate: Notice: /Stage[main]/Acme::Request::Handler/Acme::Request[www.example.com]/Exec[issue-certificate-www.example.com]/returns: /opt/acme.sh/acme.sh: 4678: /opt/acme.sh/acme.sh: cannot create /etc/acme.sh/certs/www.example.com/cert.pem: Directory nonexistent I need to manually create the directory /etc/acme.sh/certs/www.example.com to make it work.

fraenki commented 4 years ago

This was fixed in https://github.com/fraenki/puppet-acme/commit/a8b081bf002942837af044a479fdc7c0eeaa2d36.