File tree Expand file tree Collapse file tree 1 file changed +21
-30
lines changed
Expand file tree Collapse file tree 1 file changed +21
-30
lines changed Original file line number Diff line number Diff line change @@ -45,19 +45,7 @@ certbot:
4545 - pkg: ssl-cert
4646{% endfor %}
4747
48- # initial test
4948{% if grains[' id' ] == ' salt.nyc1.psf.io' or grains[' id' ] == ' salt-master.vagrant.psf.io' %}
50- pypa.io :
51- acme.cert :
52- 53- - webroot: /etc/lego
54- - renew: 14
55- {% if pillar[" dc" ] == " vagrant" %}
56- - server: https://salt-master.vagrant.psf.io:14000/dir
57- {% endif %}
58- - require:
59- - sls: tls.lego
60- - file: /etc/lego/.well-known/acme-challenge
6149
6250# DNS-validated domains
6351# dns plugins do not exist yet for route53 & gandi
@@ -73,7 +61,7 @@ pypa.io:
7361{# - require:#}
7462{# - pkg: certbot#}
7563{#
76- - sls: tls.lego # }
64+ - sls: tls.lego
7765{# star.pycon.org:#}
7866{# acme.cert:#}
7967{# - aliases:#}
@@ -98,22 +86,25 @@ pypa.io:
9886{# - sls: tls.lego#}
9987
10088# HTTP-validated domains
101- {#{% for domain in [# }
102- {# 'pypa.io',#}
103- {# 'www.pycon.org',#}
104- {# 'speed.pypy.org',#}
105- {# 'salt-public.psf.io',#}
106- {# 'planetpython.org',#}
107- {# 'bugs.python.org'#}
108- {# ] %}#}
109- {# {{ domain }}:#}
110- {# acme.cert:#}
111- 112- {# - webroot: /etc/lego#}
113- {# - renew: 14#}
114- {# - require:#}
115- {# - sls: tls.lego#}
116- {# {% endfor %}#}
89+ {% for domain in [
90+ ' pypa.io' ,
91+ ' www.pycon.org' ,
92+ ' speed.pypy.org' ,
93+ ' salt-public.psf.io' ,
94+ ' planetpython.org' ,
95+ ' bugs.python.org'
96+ ] %}
97+ {{ domain }}:
98+ acme.cert :
99+ 100+ - webroot: /etc/lego
101+ - renew: 14
102+ {% if pillar[" dc" ] == " vagrant" %}
103+ - server: https://salt-master.vagrant.psf.io:14000/dir
104+ {% endif %}
105+ - require:
106+ - sls: tls.lego
107+ {% endfor %}
117108
118109# Multi-domain certificates
119110{# jython.org:#}
@@ -128,7 +119,7 @@ pypa.io:
128119{# - renew: 14#}
129120{# - require:#}
130121{# - sls: tls.lego#}
131-
122+ { # #}
132123{# bugs.python.org-multi:#}
133124{# acme.cert:#}
134125{# - name: bugs.python.org#}
You can’t perform that action at this time.
0 commit comments