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

6 lines
98 B
Text
Raw Normal View History

2017-11-01 07:56:12 +00:00
domain=$__object_id
if [ -f "/etc/letsencrypt/live/$domain/fullchain.pem" ]; then
echo yes
fi