cdist/cdist/conf/type/__letsencrypt_cert/explorer/exists

6 lines
98 B
Plaintext

domain=$__object_id
if [ -f "/etc/letsencrypt/live/$domain/fullchain.pem" ]; then
echo yes
fi