Page MenuHomeDevCentral

D1115.id2849.diff
No OneTemporary

D1115.id2849.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
Sat, Dec 28, 12:44 (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2318547
Default Alt Text
D1115.id2849.diff (580 B)

Event Timeline