Page MenuHomeDevCentral

D1115.diff
No OneTemporary

D1115.diff

diff --git a/roles/webserver-core/letsencrypt/certificates.sls b/roles/webserver-core/letsencrypt/certificates.sls
--- a/roles/webserver-core/letsencrypt/certificates.sls
+++ b/roles/webserver-core/letsencrypt/certificates.sls
@@ -12,7 +12,7 @@
# Certificates
# -------------------------------------------------------------
-{% for domain in pillar.get('certificates_letsencrypt')[grains['id']] %}
+{% for domain in salt['pillar.get']("certificates_letsencrypt:" + grains['id'], []) %}
certificate_{{ domain }}:
cmd.run:
- name: certbot certonly -d {{ domain }}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 04:24 (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248662
Default Alt Text
D1115.diff (580 B)

Event Timeline