浏览代码

Ensure that pillar.get on nginx:ng:dhparam has a sane

default value if dhparam isn't defined in the pillar.
master
Matt M 7 年前
父节点
当前提交
19d0102c2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nginx/ng/certificates.sls

+ 1
- 1
nginx/ng/certificates.sls 查看文件

@@ -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:

正在加载...
取消
保存