mirror of https://github.com/zulip/zulip.git
puppet: Re-indent.
This commit is contained in:
parent
503bddab9c
commit
c607594d11
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue