Fix in config.sls with the new naming for source_path

This commit is contained in:
David Seira 2017-08-31 13:36:10 +02:00 committed by David Seira
parent 8c0259c593
commit 60b5c732d7

View File

@ -13,7 +13,7 @@ nginx_log_dir:
{% endif %} {% endif %}
{% if 'source_path' in nginx.server.config %} {% if 'source_path' in nginx.server.config %}
{% set source_path = nginx.server.config.source %} {% set source_path = nginx.server.config.source_path %}
{% else %} {% else %}
{% set source_path = 'salt://nginx/ng/files/nginx.conf' %} {% set source_path = 'salt://nginx/ng/files/nginx.conf' %}
{% endif %} {% endif %}