Explorar el Código

Removing if statement around nginx.ng.certificates

Found the problem in that dh_param was set to an int but only a string
or a dictionary would work with the code
master
Nate Bohman hace 5 años
padre
commit
b29ebe9de7
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. +0
    -2
      nginx/ng/certificates.sls

+ 0
- 2
nginx/ng/certificates.sls Ver fichero

{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}


{% if salt['pillar.get']('nginx:ng:certificates') is defined and salt['pillar.get']('nginx:ng:certificates') %}
{%- for domain in salt['pillar.get']('nginx:ng:certificates', {}).keys() %} {%- for domain in salt['pillar.get']('nginx:ng:certificates', {}).keys() %}


nginx_{{ domain }}_ssl_certificate: nginx_{{ domain }}_ssl_certificate:
- service: nginx_service - service: nginx_service
{% endif %} {% endif %}
{%- endfor %} {%- endfor %}
{% endif %}

Cargando…
Cancelar
Guardar