Skip to content

Commit

Permalink
fixup! refactor(certs): use jinja.map to get pillars
Browse files Browse the repository at this point in the history
  • Loading branch information
faudebert committed Jul 2, 2020
1 parent 19a6656 commit 02e45d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/certificates.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prepare_certificates_path_dir:
- name: {{ nginx.certificates_path }}
- makedirs: True
{%- for dh_param, value in nginx.dh_param.items() %}
{%- for dh_param, value in nginx.get('dh_param', {}).items() %}
{%- if value is string %}
create_nginx_dhparam_{{ dh_param }}_key:
file.managed:
Expand Down

0 comments on commit 02e45d4

Please sign in to comment.