We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ab883 commit fa30753Copy full SHA for fa30753
salt/tls/init.sls
@@ -45,6 +45,19 @@ certbot:
45
- pkg: ssl-cert
46
{% endfor %}
47
48
+# Install acme.cert certs prepended with acme-* to avoic conflicts
49
+{% for name in salt["pillar.get"]("tls:acme_certs", {}) %}
50
+/etc/ssl/private/acme-{{ name }}.pem:
51
+ file.managed:
52
+ - contents_pillar: tls:acme_certs:{{ name }}
53
+ - user: root
54
+ - group: ssl-cert
55
+ - mode: "0640"
56
+ - show_diff: False
57
+ - require:
58
+ - pkg: ssl-cert
59
+{% endfor %}
60
+
61
{% if salt["match.compound"](pillar["roles"]["salt-master"]["pattern"]) %}
62
# Process ACME certificates
63
{% for domain, domain_config in salt["pillar.get"]("tls:acme_certs", {}).items() %}
0 commit comments