Skip to content

Commit

Permalink
fix(domains): renew --no-random-sleep-on-renew
Browse files Browse the repository at this point in the history
letsencrypt is consistently the longest state in my configuration, and
apparently because of the random delay introduced when renewing
non-interactively. Conceivably this could be made optional using a
pillar variable; but, for now, I'll just disable the random sleep, at
least during dry-run.
  • Loading branch information
anderbubble committed Jul 7, 2020
1 parent 1beed15 commit 07cbc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letsencrypt/domains.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% if letsencrypt.use_package %}
# Renew checks if the cert exists and needs to be renewed
{% set check_cert_cmd = '/usr/bin/certbot renew --dry-run --cert-name' %}
{% set check_cert_cmd = '/usr/bin/certbot renew --dry-run --no-random-sleep-on-renew --cert-name' %}
{% set renew_cert_cmd = '/usr/bin/certbot renew' %}
{% set old_check_cert_cmd_state = 'absent' %}
{% set old_renew_cert_cmd_state = 'absent' %}
Expand Down

0 comments on commit 07cbc3b

Please sign in to comment.