Skip to content

Commit

Permalink
fix(domains): Ignore requisites when removing crontab entry
Browse files Browse the repository at this point in the history
  • Loading branch information
rhansen committed Jul 23, 2022
1 parent b6279d5 commit c58ec2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions letsencrypt/domains.sls
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,15 @@ letsencrypt-crontab-{{ setname }}-{{ domainlist[0] }}:
- hour: '{{ letsencrypt.cron.hour }}'
- dayweek: '{{ letsencrypt.cron.dayweek }}'
- identifier: letsencrypt-{{ setname }}-{{ domainlist[0] }}
{%- if old_cron_state == 'present' %}
- require:
- cmd: create-initial-cert-{{ setname }}-{{ domainlist | join('+') }}
{% if letsencrypt.install_method == 'package' %}
- pkg: letsencrypt-client
{% else %}
- file: {{ renew_cert_cmd }}
{% endif %}
{%- endif %}
create-fullchain-privkey-pem-for-{{ setname }}:
cmd.run:
Expand Down

0 comments on commit c58ec2d

Please sign in to comment.