Merge pull request #175 from 9numbernine9/fix-dhparam-default

Add default value when calling pillar.get on nginx🆖dhparam
This commit is contained in:
Niels Abspoel 2017-12-21 09:02:20 +01:00 committed by GitHub
commit dc292fb780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ include:
{% set certificates_path = salt['pillar.get']('nginx:ng:certificates_path', '/etc/nginx/ssl') %}
{%- for dh_param, value in salt.pillar.get('nginx:ng:dh_param').items() %}
{%- for dh_param, value in salt['pillar.get']('nginx:ng:dh_param', {}).items() %}
{%- if value is string %}
create_nginx_dhparam_{{ dh_param }}_key:
file.managed: