Skip to content

Commit

Permalink
feat: add retry option to acme_sh.cert
Browse files Browse the repository at this point in the history
  • Loading branch information
genaumann committed Oct 14, 2024
1 parent c031c65 commit 5679bbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acme_sh/cert.sls
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ acme_sh_cert_{{ user }}_{{ domain }}:
{%- if cert_config.get('insecure') %}
- insecure: {{ cert_config['insecure'] }}
{%- endif %}
{%- if cert_config.get('retry') %}
- retry: {{ cert_config['retry'] }}
{%- endif %}
{%- endfor %}
{%- endif %}
{%- endfor %}
2 changes: 2 additions & 0 deletions test/salt/pillar/acme_sh.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ acme_sh:
keysize: '4096'
server: letsencrypt_test
cert_path: /home/vagrant/crt
retry:
attempts: 3
standalone.gn98.de:
acme_mode: standalone
server: https://localhost:14000/dir
Expand Down

0 comments on commit 5679bbf

Please sign in to comment.