Browse Source

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

Add default value when calling pillar.get on nginx:ng:dhparam
tags/v0.55.0
Niels Abspoel 7 years ago
parent
commit
dc292fb780
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/ng/certificates.sls

+ 1
- 1
nginx/ng/certificates.sls View File



{% set certificates_path = salt['pillar.get']('nginx:ng:certificates_path', '/etc/nginx/ssl') %} {% 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 %} {%- if value is string %}
create_nginx_dhparam_{{ dh_param }}_key: create_nginx_dhparam_{{ dh_param }}_key:
file.managed: file.managed:

Loading…
Cancel
Save