Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722872
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/webserver-core/letsencrypt/certificates.sls b/roles/webserver-core/letsencrypt/certificates.sls
index e29c7cf..5b3290f 100644
--- a/roles/webserver-core/letsencrypt/certificates.sls
+++ b/roles/webserver-core/letsencrypt/certificates.sls
@@ -1,20 +1,20 @@
# -------------------------------------------------------------
# Salt — Let's encrypt certificates
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-04-27
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
# 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 }}
- unless: test -f {{ dirs.etc }}/letsencrypt/live/{{ domain }}/fullchain.pem
{% endfor %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 18, 06:13 (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2987889
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment