puppet: Re-indent.

This commit is contained in:
Alex Vandiver 2024-04-19 11:52:21 -04:00 committed by Tim Abbott
parent 503bddab9c
commit c607594d11
1 changed files with 9 additions and 9 deletions

View File

@ -54,15 +54,15 @@ class zulip::profile::app_frontend {
require => Package[certbot],
}
if ! $nginx_http_only {
exec { 'fix-standalone-certbot':
onlyif => @(EOT),
test -L /etc/ssl/certs/zulip.combined-chain.crt &&
readlink /etc/ssl/certs/zulip.combined-chain.crt | grep -q /etc/letsencrypt/live/ &&
test -d /etc/letsencrypt/renewal &&
grep -qx "authenticator = standalone" /etc/letsencrypt/renewal/*.conf
| EOT
command => "${facts['zulip_scripts_path']}/lib/fix-standalone-certbot",
}
exec { 'fix-standalone-certbot':
onlyif => @(EOT),
test -L /etc/ssl/certs/zulip.combined-chain.crt &&
readlink /etc/ssl/certs/zulip.combined-chain.crt | grep -q /etc/letsencrypt/live/ &&
test -d /etc/letsencrypt/renewal &&
grep -qx "authenticator = standalone" /etc/letsencrypt/renewal/*.conf
| EOT
command => "${facts['zulip_scripts_path']}/lib/fix-standalone-certbot",
}
}
# Restart the server regularly to avoid potential memory leak problems.